Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.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.001294/0.001294, 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.466/1.466, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001537/0.001537, allocations: 204.7 kB / 309.2 MB, free: 3.078 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.6007/0.6007, allocations: 107.3 MB / 473 MB, free: 29.78 MB / 350.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.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",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.002545/0.002545, allocations: 88.77 kB / 0.6332 GB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1256, allocations: 80.16 MB / 0.7115 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.006726/0.1324, allocations: 5.195 MB / 0.7166 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.1357, allocations: 1.72 MB / 0.7183 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.1361, allocations: 15.94 kB / 0.7183 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.1366, allocations: 202.3 kB / 0.7185 GB, free: 424 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.1383, allocations: 0.7301 MB / 0.7192 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1396, allocations: 0.5581 MB / 0.7197 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.1411, allocations: 1.288 MB / 0.721 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.1414, allocations: 187.5 kB / 0.7212 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007179/0.1421, allocations: 0.5524 MB / 0.7217 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007792/0.1429, allocations: 0.6142 MB / 0.7223 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.1431, allocations: 95.94 kB / 0.7224 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.1436, allocations: 231.9 kB / 0.7226 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.1438, allocations: 246.9 kB / 0.7229 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.1443, allocations: 461.4 kB / 0.7233 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.1459, allocations: 1.412 MB / 0.7247 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1459, allocations: 0 / 0.7247 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1459, allocations: 4 kB / 0.7247 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.146, allocations: 0 / 0.7247 GB, free: 10.03 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.008037/0.154, allocations: 2.356 MB / 0.727 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.154, allocations: 12.03 kB / 0.727 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.1542, allocations: 114.5 kB / 0.7271 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.1592, allocations: 0.7641 MB / 0.7279 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.1605, allocations: 0.6569 MB / 0.7285 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.1608, allocations: 307.6 kB / 0.7288 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.161, allocations: 75.95 kB / 0.7289 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.1632, allocations: 0.9715 MB / 0.7298 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.1632, allocations: 3.984 kB / 0.7298 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.1633, allocations: 28 kB / 0.7298 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.1633, allocations: 16 kB / 0.7299 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.1656, allocations: 0.976 MB / 0.7308 GB, free: 3.621 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.00548/0.1711, allocations: 2.398 MB / 0.7331 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.1731, allocations: 0.8012 MB / 0.7339 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.1746, allocations: 0.6329 MB / 0.7346 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.771e-05/0.1747, allocations: 9 kB / 0.7346 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.1748, allocations: 51.48 kB / 0.7346 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=84): time 2.464e-06/0.1748, allocations: 0 / 0.7346 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84): time 0.0274/0.2022, allocations: 6.264 MB / 0.7407 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.2022, allocations: 68.28 kB / 0.7408 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.2037, allocations: 0.8065 MB / 0.7416 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.2039, allocations: 45.7 kB / 0.7416 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.2043, allocations: 433.1 kB / 0.742 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005099/0.2048, allocations: 317.3 kB / 0.7423 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.2052, allocations: 194.9 kB / 0.7425 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.2054, allocations: 341.9 kB / 0.7428 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.2071, allocations: 0.6858 MB / 0.7435 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.2089, allocations: 0.7955 MB / 0.7443 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/0.2122, allocations: 1.455 MB / 0.7457 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.2122, allocations: 4 kB / 0.7457 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01512/0.2273, allocations: 4.177 MB / 0.7498 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.2273, allocations: 7.828 kB / 0.7498 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.2274, allocations: 4 kB / 0.7498 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007534/0.2349, allocations: 1.869 MB / 0.7516 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/0.2358, allocations: 175.8 kB / 0.7518 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.025/0.2608, allocations: 9.253 MB / 0.7608 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.2622, allocations: 159.3 kB / 0.761 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.2623, allocations: 39.98 kB / 0.761 GB, free: 4.332 MB / 0.5294 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 (101): * Single equations (assignments): 100 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004461/0.2628, allocations: 222 kB / 0.7612 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.263, allocations: 111.2 kB / 0.7613 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/0.2767, allocations: 3.848 MB / 0.7651 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.2767, allocations: 8 kB / 0.7651 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2767, allocations: 4 kB / 0.7651 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.2767, allocations: 3.984 kB / 0.7651 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.2916, allocations: 4.716 MB / 0.7697 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.2916, allocations: 0 / 0.7697 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.2922, allocations: 95.83 kB / 0.7698 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006187/0.2984, allocations: 1.741 MB / 0.7715 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.2985, allocations: 16 kB / 0.7715 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/0.3183, allocations: 7.786 MB / 0.7791 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3183, allocations: 0 / 0.7791 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.3337, allocations: 4.674 MB / 0.7837 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.334, allocations: 123.1 kB / 0.7838 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.3342, allocations: 16 kB / 0.7838 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.3352, allocations: 91.89 kB / 0.7839 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006375/0.3358, allocations: 212.6 kB / 0.7841 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.3359, allocations: 16 kB / 0.7841 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007485/0.3366, allocations: 0.546 MB / 0.7847 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3366, allocations: 4 kB / 0.7847 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001134/0.3378, allocations: 427.6 kB / 0.7851 GB, free: 11.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.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 (51): * Single equations (assignments): 50 * 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.01608/0.3539, allocations: 5.267 MB / 0.7902 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007172/0.361, allocations: 2.273 MB / 0.7924 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.361, allocations: 0 / 0.7924 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004836/0.3659, allocations: 1.46 MB / 0.7939 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.3666, allocations: 77.69 kB / 0.7939 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04556/0.4122, allocations: 14.59 MB / 0.8082 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/0.4129, allocations: 450.6 kB / 0.8086 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005298/0.4134, allocations: 82.39 kB / 0.8087 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/0.4142, allocations: 383.3 kB / 0.8091 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of SimCode: time 1.173e-06/0.4142, allocations: 0 / 0.8091 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.355/0.7692, allocations: 34.06 MB / 0.8423 GB, free: 82.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.07, allocations: 3.688 kB / 0.8423 GB, free: 82.78 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2_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_Order5test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.705697748810053] Failed to read output from testmodel.py, exit status != 0: 15.207342358771712 15.219386749 15.071181619 Calling exit ...