Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.001313/0.001313, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.475/1.475, allocations: 230.6 MB / 252.7 MB, free: 8.309 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.001656/0.001656, allocations: 208.1 kB / 309.2 MB, free: 3.148 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.04212/0.04212, allocations: 8.928 MB / 374.6 MB, free: 1.891 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.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",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.002555/0.002555, allocations: 87.14 kB / 0.4892 GB, free: 4.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1198, allocations: 55.62 MB / 0.5435 GB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.00168/0.1215, allocations: 0.507 MB / 0.544 GB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1232, allocations: 1.154 MB / 0.5451 GB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.1232, allocations: 4 kB / 0.5451 GB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1235, allocations: 23.89 kB / 0.5451 GB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.1236, allocations: 23.91 kB / 0.5452 GB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.1236, allocations: 0 / 0.5452 GB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.12e-05/0.1237, allocations: 27.86 kB / 0.5452 GB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.1237, allocations: 4 kB / 0.5452 GB, free: 3.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1239, allocations: 27.91 kB / 0.5452 GB, free: 3.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.124, allocations: 23.91 kB / 0.5453 GB, free: 3.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.124, allocations: 4 kB / 0.5453 GB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.124, allocations: 0 / 0.5453 GB, free: 3.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.1242, allocations: 75.78 kB / 0.5453 GB, free: 3.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.1242, allocations: 23.73 kB / 0.5453 GB, free: 3.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.009e-05/0.1243, allocations: 55.94 kB / 0.5454 GB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1243, allocations: 3.938 kB / 0.5454 GB, free: 3.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1243, allocations: 0 / 0.5454 GB, free: 3.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1243, allocations: 0 / 0.5454 GB, free: 3.125 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005284/0.1249, allocations: 333.7 kB / 0.5457 GB, free: 2.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1249, allocations: 12.03 kB / 0.5457 GB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.557e-05/0.125, allocations: 106 kB / 0.5458 GB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.1251, allocations: 84.17 kB / 0.5459 GB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.1253, allocations: 242.4 kB / 0.5461 GB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.1254, allocations: 150.9 kB / 0.5463 GB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.1254, allocations: 150.9 kB / 0.5464 GB, free: 2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.992e-05/0.1255, allocations: 105.1 kB / 0.5465 GB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.1256, allocations: 75.28 kB / 0.5466 GB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.1257, allocations: 150.6 kB / 0.5468 GB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-05/0.1257, allocations: 154.6 kB / 0.5469 GB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.471e-05/0.1258, allocations: 154.6 kB / 0.547 GB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.1262, allocations: 456.9 kB / 0.5475 GB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1263, allocations: 169.1 kB / 0.5476 GB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.1264, allocations: 84.14 kB / 0.5477 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.1264, allocations: 75.28 kB / 0.5478 GB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.1264, allocations: 109.8 kB / 0.5479 GB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.1265, allocations: 4 kB / 0.5479 GB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.194e-05/0.1265, allocations: 41.55 kB / 0.5479 GB, free: 380 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/0.1266, allocations: 130.7 kB / 0.5481 GB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1269, allocations: 235.9 kB / 0.5483 GB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1269, allocations: 25.7 kB / 0.5483 GB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.127, allocations: 116.1 kB / 0.5484 GB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.127, allocations: 0 / 0.5484 GB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.127, allocations: 9.719 kB / 0.5484 GB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1272, allocations: 330.8 kB / 0.5488 GB, free: 15.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-06/0.1272, allocations: 0 / 0.5488 GB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-06/0.1272, allocations: 0 / 0.5488 GB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.1272, allocations: 79.28 kB / 0.5488 GB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.944e-05/0.1272, allocations: 75.28 kB / 0.5489 GB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.205e-05/0.1273, allocations: 53.53 kB / 0.549 GB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.1274, allocations: 79.28 kB / 0.549 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-05/0.1274, allocations: 79.27 kB / 0.5491 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.143e-05/0.1275, allocations: 162.5 kB / 0.5493 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.642e-05/0.1275, allocations: 79.22 kB / 0.5493 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.111e-05/0.1276, allocations: 158.6 kB / 0.5495 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.1277, allocations: 83.22 kB / 0.5496 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.1278, allocations: 75.28 kB / 0.5496 GB, free: 14.57 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 (0): * Single equations (assignments): 0 * 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.0001797/0.1279, allocations: 289.7 kB / 0.5499 GB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.128, allocations: 120.8 kB / 0.55 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.19e-05/0.1281, allocations: 129.7 kB / 0.5502 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.671e-05/0.1282, allocations: 176.3 kB / 0.5503 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001106/0.1283, allocations: 184.2 kB / 0.5505 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.994e-05/0.1284, allocations: 176.3 kB / 0.5507 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.1289, allocations: 416.2 kB / 0.5511 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.372e-05/0.129, allocations: 101 kB / 0.5512 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.129, allocations: 108.9 kB / 0.5513 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.1291, allocations: 180.2 kB / 0.5514 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-05/0.1292, allocations: 184.3 kB / 0.5516 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001248/0.1294, allocations: 184.2 kB / 0.5518 GB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.664e-05/0.1294, allocations: 176.3 kB / 0.552 GB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1297, allocations: 323.7 kB / 0.5523 GB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-05/0.1298, allocations: 128.8 kB / 0.5524 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.13, allocations: 180.2 kB / 0.5526 GB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1301, allocations: 101 kB / 0.5527 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.1303, allocations: 184.3 kB / 0.5528 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.1303, allocations: 104.9 kB / 0.5529 GB, free: 11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.1305, allocations: 180.1 kB / 0.5531 GB, free: 10.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1305, allocations: 0 / 0.5531 GB, free: 10.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.1308, allocations: 4 kB / 0.5531 GB, free: 10.82 MB / 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 (0): * Single equations (assignments): 0 * 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.0005615/0.1314, allocations: 0.8126 MB / 0.5539 GB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.614e-05/0.1315, allocations: 3.938 kB / 0.5539 GB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1315, allocations: 0 / 0.5539 GB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.1315, allocations: 4 kB / 0.5539 GB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.132, allocations: 466.2 kB / 0.5543 GB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.1345, allocations: 2.047 MB / 0.5563 GB, free: 7.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.135, allocations: 0.708 MB / 0.557 GB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.292e-05/0.1351, allocations: 0 / 0.557 GB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.1351, allocations: 31.42 kB / 0.5571 GB, free: 6.621 MB / 366.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1351, allocations: 3.938 kB / 0.5571 GB, free: 6.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.1644, allocations: 1.978 MB / 0.559 GB, free: 4.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.1, allocations: 15.22 kB / 0.559 GB, free: 4.758 MB / 366.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2_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_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.013151166996977] Failed to read output from testmodel.py, exit status != 0: 11.202687084994977 11.220290308 11.092735041 Calling exit ...