Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 252.7 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 218.4 kB / 309.2 MB, free: 3.184 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.06013/0.06013, allocations: 8.927 MB / 374.6 MB, free: 6.602 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 91.88 kB / 0.4891 GB, free: 44.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09623, allocations: 55.6 MB / 0.5434 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001817/0.09805, allocations: 0.5153 MB / 0.5439 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.09986, allocations: 1.142 MB / 0.5451 GB, free: 3.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.0999, allocations: 0 / 0.5451 GB, free: 3.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1001, allocations: 11.92 kB / 0.5451 GB, free: 3.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.1002, allocations: 27.84 kB / 0.5451 GB, free: 3.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.723e-05/0.1003, allocations: 8 kB / 0.5451 GB, free: 3.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.1004, allocations: 35.84 kB / 0.5451 GB, free: 3.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.1004, allocations: 4 kB / 0.5451 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.1006, allocations: 35.83 kB / 0.5452 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1008, allocations: 43.83 kB / 0.5452 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1008, allocations: 0 / 0.5452 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.1008, allocations: 4 kB / 0.5452 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1009, allocations: 39.89 kB / 0.5453 GB, free: 3.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.101, allocations: 23.73 kB / 0.5453 GB, free: 3.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.1011, allocations: 55.91 kB / 0.5453 GB, free: 3.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1011, allocations: 4 kB / 0.5453 GB, free: 3.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1011, allocations: 0 / 0.5453 GB, free: 3.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1011, allocations: 0 / 0.5453 GB, free: 3.117 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000658/0.1018, allocations: 337.8 kB / 0.5457 GB, free: 2.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1018, allocations: 11.98 kB / 0.5457 GB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.1019, allocations: 30.75 kB / 0.5457 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.1019, allocations: 12.84 kB / 0.5457 GB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1021, allocations: 158.4 kB / 0.5459 GB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1021, allocations: 4.375 kB / 0.5459 GB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1021, allocations: 4.375 kB / 0.5459 GB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.759e-05/0.1022, allocations: 45.8 kB / 0.5459 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1022, allocations: 0 / 0.5459 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1022, allocations: 0 / 0.5459 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1023, allocations: 0 / 0.5459 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.1023, allocations: 23.86 kB / 0.5459 GB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.1025, allocations: 160.7 kB / 0.5461 GB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.739e-05/0.1026, allocations: 30.58 kB / 0.5461 GB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.1026, allocations: 12.94 kB / 0.5461 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.1026, allocations: 0 / 0.5461 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.1027, allocations: 38.5 kB / 0.5462 GB, free: 2.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1027, allocations: 0 / 0.5462 GB, free: 2.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001859/0.1029, allocations: 69.58 kB / 0.5462 GB, free: 2.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1029, allocations: 55.39 kB / 0.5463 GB, free: 1.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.1031, allocations: 214.9 kB / 0.5465 GB, free: 1.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1032, allocations: 25.7 kB / 0.5465 GB, free: 1.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.1032, allocations: 104.1 kB / 0.5466 GB, free: 1.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.1033, allocations: 7.938 kB / 0.5466 GB, free: 1.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.1033, allocations: 17.72 kB / 0.5466 GB, free: 1.605 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1035, allocations: 322.8 kB / 0.5469 GB, free: 1.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.1035, allocations: 8 kB / 0.547 GB, free: 1.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.1035, allocations: 11.98 kB / 0.547 GB, free: 1.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.463e-05/0.1036, allocations: 16.86 kB / 0.547 GB, free: 1.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1036, allocations: 4 kB / 0.547 GB, free: 1.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001067/0.1037, allocations: 69.45 kB / 0.5471 GB, free: 1.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1037, allocations: 4 kB / 0.5471 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1037, allocations: 0 / 0.5471 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1037, allocations: 3.938 kB / 0.5471 GB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.1038, allocations: 12 kB / 0.5471 GB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1038, allocations: 0 / 0.5471 GB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.1038, allocations: 3.984 kB / 0.5471 GB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1038, allocations: 8 kB / 0.5471 GB, free: 1.133 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.104, allocations: 121.8 kB / 0.5472 GB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.104, allocations: 15.84 kB / 0.5472 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1042, allocations: 70.97 kB / 0.5473 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1042, allocations: 4.031 kB / 0.5473 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1042, allocations: 0 / 0.5473 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1042, allocations: 0 / 0.5473 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.1043, allocations: 156.7 kB / 0.5474 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1043, allocations: 0 / 0.5474 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.1044, allocations: 11.92 kB / 0.5474 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1044, allocations: 7.938 kB / 0.5475 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1044, allocations: 4 kB / 0.5475 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1044, allocations: 0 / 0.5475 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1044, allocations: 0 / 0.5475 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1045, allocations: 81.02 kB / 0.5475 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.1046, allocations: 23.83 kB / 0.5476 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1046, allocations: 0 / 0.5476 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.1046, allocations: 4 kB / 0.5476 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.1046, allocations: 3.984 kB / 0.5476 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1046, allocations: 4 kB / 0.5476 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1048, allocations: 160.3 kB / 0.5477 GB, free: 408 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1048, allocations: 4 kB / 0.5477 GB, free: 404 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001858/0.105, allocations: 8 kB / 0.5477 GB, free: 396 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000511/0.1055, allocations: 0.6201 MB / 0.5483 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1056, allocations: 23.92 kB / 0.5484 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.1056, allocations: 4 kB / 0.5484 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.1056, allocations: 8 kB / 0.5484 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.1058, allocations: 8 kB / 0.5484 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1076, allocations: 1.576 MB / 0.5499 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.1077, allocations: 96.92 kB / 0.55 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.1078, allocations: 16.25 kB / 0.55 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.1079, allocations: 31.42 kB / 0.5501 GB, free: 13.87 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1079, allocations: 3.938 kB / 0.5501 GB, free: 13.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.141, allocations: 2.566 MB / 0.5526 GB, free: 11.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.44, allocations: 6.641 kB / 0.5526 GB, free: 11.41 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.541040426120162] Failed to read output from testmodel.py, exit status != 0: 11.543613736052066 11.771654998 11.667549054 Calling exit ...