Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.001342/0.001342, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.451/1.451, allocations: 230.6 MB / 252.7 MB, free: 8.086 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.001621/0.001621, allocations: 222.1 kB / 309.2 MB, free: 2.953 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5891/0.5891, allocations: 107.3 MB / 473 MB, free: 4.449 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL 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: OpenIPSL 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.002592/0.002592, allocations: 79.88 kB / 0.6332 GB, free: 4.938 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4438, allocations: 80.19 MB / 0.7115 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005489/0.4493, allocations: 5.271 MB / 0.7167 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.453, allocations: 1.776 MB / 0.7184 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005134/0.4535, allocations: 10.5 kB / 0.7184 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.454, allocations: 211.7 kB / 0.7186 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.456, allocations: 0.7375 MB / 0.7193 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.4574, allocations: 0.5694 MB / 0.7199 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.4591, allocations: 1.348 MB / 0.7212 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.4594, allocations: 173.7 kB / 0.7214 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008483/0.4603, allocations: 0.5839 MB / 0.722 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008167/0.4611, allocations: 0.6327 MB / 0.7226 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.4612, allocations: 103.3 kB / 0.7227 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.4617, allocations: 244.1 kB / 0.7229 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.462, allocations: 259.8 kB / 0.7231 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004645/0.4625, allocations: 485.2 kB / 0.7236 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.4642, allocations: 1.459 MB / 0.725 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4642, allocations: 0.9375 kB / 0.725 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4642, allocations: 0 / 0.725 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.4643, allocations: 0 / 0.725 GB, free: 11.99 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.008634/0.4729, allocations: 2.417 MB / 0.7274 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4729, allocations: 10.72 kB / 0.7274 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.4731, allocations: 122.1 kB / 0.7275 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005418/0.4785, allocations: 0.7736 MB / 0.7283 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.4804, allocations: 0.6915 MB / 0.729 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/0.4808, allocations: 302.9 kB / 0.7292 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.4809, allocations: 66.53 kB / 0.7293 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.4833, allocations: 0.9879 MB / 0.7303 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4833, allocations: 4 kB / 0.7303 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.4834, allocations: 26.7 kB / 0.7303 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.4834, allocations: 16.25 kB / 0.7303 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.4859, allocations: 0.9851 MB / 0.7313 GB, free: 9.207 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006057/0.4919, allocations: 2.447 MB / 0.7337 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.494, allocations: 0.8181 MB / 0.7345 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.4955, allocations: 0.6433 MB / 0.7351 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.947e-05/0.4956, allocations: 14.7 kB / 0.7351 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.4956, allocations: 47 kB / 0.7352 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=85): time 2.635e-06/0.4956, allocations: 3.938 kB / 0.7352 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85): time 0.02684/0.5225, allocations: 6.443 MB / 0.7415 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.5225, allocations: 69 kB / 0.7415 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.5241, allocations: 0.8485 MB / 0.7423 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002281/0.5243, allocations: 40.77 kB / 0.7424 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.5247, allocations: 447.8 kB / 0.7428 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/0.5252, allocations: 332.8 kB / 0.7431 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004185/0.5256, allocations: 195.9 kB / 0.7433 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5258, allocations: 351.5 kB / 0.7436 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.5274, allocations: 0.6879 MB / 0.7443 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.5291, allocations: 0.8204 MB / 0.7451 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/0.5326, allocations: 1.488 MB / 0.7466 GB, free: 368 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.5326, allocations: 1.062 kB / 0.7466 GB, free: 368 kB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01545/0.548, allocations: 4.247 MB / 0.7507 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.5481, allocations: 9.562 kB / 0.7507 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.5481, allocations: 2.562 kB / 0.7507 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007567/0.5557, allocations: 1.854 MB / 0.7525 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.5568, allocations: 179.8 kB / 0.7527 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/0.582, allocations: 9.154 MB / 0.7617 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.5841, allocations: 167.2 kB / 0.7618 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.5844, allocations: 36 kB / 0.7619 GB, free: 3.281 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0007291/0.5851, allocations: 229.6 kB / 0.7621 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004223/0.5855, allocations: 115.2 kB / 0.7622 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/0.5993, allocations: 3.849 MB / 0.7659 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.5993, allocations: 8 kB / 0.7659 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5993, allocations: 0 / 0.7659 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.5993, allocations: 3.984 kB / 0.7659 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.616, allocations: 4.782 MB / 0.7706 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.616, allocations: 0 / 0.7706 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/0.6168, allocations: 99.88 kB / 0.7707 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006494/0.6233, allocations: 1.741 MB / 0.7724 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002445/0.6235, allocations: 16 kB / 0.7724 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/0.6438, allocations: 7.774 MB / 0.78 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6439, allocations: 0 / 0.78 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/0.6599, allocations: 4.736 MB / 0.7846 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.6603, allocations: 123.1 kB / 0.7848 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/0.6607, allocations: 19.98 kB / 0.7848 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.6619, allocations: 91.89 kB / 0.7849 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007443/0.6627, allocations: 208.6 kB / 0.7851 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.6628, allocations: 20 kB / 0.7851 GB, free: 11.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009462/0.6638, allocations: 0.578 MB / 0.7857 GB, free: 10.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6638, allocations: 0 / 0.7857 GB, free: 10.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001586/0.6654, allocations: 427.7 kB / 0.7861 GB, free: 10.23 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01638/0.6817, allocations: 5.312 MB / 0.7912 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007978/0.6897, allocations: 2.289 MB / 0.7935 GB, free: 2.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.6897, allocations: 4.562 kB / 0.7935 GB, free: 2.586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005622/0.6954, allocations: 1.463 MB / 0.7949 GB, free: 1.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6969, allocations: 81.2 kB / 0.795 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04339/0.7403, allocations: 14.9 MB / 0.8095 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.7409, allocations: 459.1 kB / 0.81 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004991/0.7414, allocations: 78.48 kB / 0.8101 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.7421, allocations: 387.3 kB / 0.8104 GB, free: 1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.7421, allocations: 0 / 0.8104 GB, free: 1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08308/0.8252, allocations: 34.61 MB / 0.8442 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/15.06, allocations: 5.953 kB / 0.8442 GB, free: 14.53 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.681521026883274] Failed to read output from testmodel.py, exit status != 0: 15.198173718061298 15.223096887 14.753997754 Calling exit ...