Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09308/0.09308, allocations: 12.36 MB / 31.21 MB, free: 6.41 MB / 26.18 MB " [Timeout remaining time 180] 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.001963/0.001963, allocations: 109 kB / 37.24 MB, free: 1.105 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 207.7 MB / 250.9 MB, free: 7.266 MB / 190.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.001647/0.001647, allocations: 212.4 kB / 306.1 MB, free: 284 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3503/0.3503, allocations: 79.73 MB / 440.9 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004321/0.004321, allocations: 151.8 kB / 0.5875 GB, free: 7.473 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3509, allocations: 71.95 MB / 0.6578 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.006136/0.357, allocations: 5.28 MB / 0.6629 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.3607, allocations: 1.694 MB / 0.6646 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.3613, allocations: 9.906 kB / 0.6646 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.3618, allocations: 204.9 kB / 0.6648 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.3636, allocations: 0.7457 MB / 0.6655 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.365, allocations: 0.574 MB / 0.6661 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.3666, allocations: 1.349 MB / 0.6674 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.367, allocations: 179 kB / 0.6676 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008213/0.3678, allocations: 0.5739 MB / 0.6681 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/0.3686, allocations: 0.6379 MB / 0.6687 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.3688, allocations: 97.28 kB / 0.6688 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005105/0.3693, allocations: 226.4 kB / 0.6691 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.3696, allocations: 261.8 kB / 0.6693 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.3701, allocations: 483.5 kB / 0.6698 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.3719, allocations: 1.448 MB / 0.6712 GB, free: 10.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3719, allocations: 0 / 0.6712 GB, free: 10.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3719, allocations: 0 / 0.6712 GB, free: 10.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.3719, allocations: 1.25 kB / 0.6712 GB, free: 10.25 MB / 462.1 MB 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.008601/0.3805, allocations: 2.407 MB / 0.6735 GB, free: 8.805 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3805, allocations: 9.188 kB / 0.6735 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.3807, allocations: 113.7 kB / 0.6737 GB, free: 8.707 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.3859, allocations: 0.7704 MB / 0.6744 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.3875, allocations: 0.6923 MB / 0.6751 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003722/0.3879, allocations: 307.5 kB / 0.6754 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.388, allocations: 66.25 kB / 0.6754 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.3903, allocations: 0.9921 MB / 0.6764 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3903, allocations: 3.938 kB / 0.6764 GB, free: 6.938 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.3904, allocations: 25.19 kB / 0.6764 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.3904, allocations: 16.47 kB / 0.6764 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.3927, allocations: 0.9844 MB / 0.6774 GB, free: 6.449 MB / 462.1 MB 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.005821/0.3985, allocations: 2.442 MB / 0.6798 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.4005, allocations: 0.8239 MB / 0.6806 GB, free: 4.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.4019, allocations: 0.6428 MB / 0.6812 GB, free: 4.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.173e-05/0.402, allocations: 10.38 kB / 0.6812 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.4021, allocations: 43.75 kB / 0.6813 GB, free: 3.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 3.717e-06/0.4021, allocations: 0 / 0.6813 GB, free: 3.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.0266/0.4287, allocations: 6.454 MB / 0.6876 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.4287, allocations: 60.5 kB / 0.6876 GB, free: 0.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.4301, allocations: 0.8487 MB / 0.6885 GB, free: 260 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.4303, allocations: 45.67 kB / 0.6885 GB, free: 212 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/0.4307, allocations: 447.7 kB / 0.6889 GB, free: 15.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.4311, allocations: 328.2 kB / 0.6893 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000412/0.4315, allocations: 199.6 kB / 0.6894 GB, free: 15.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4317, allocations: 347.9 kB / 0.6898 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.4333, allocations: 0.6953 MB / 0.6905 GB, free: 14.72 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.4351, allocations: 0.8208 MB / 0.6913 GB, free: 14.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.4383, allocations: 1.485 MB / 0.6927 GB, free: 13.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.4383, allocations: 4 kB / 0.6927 GB, free: 13.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01516/0.4535, allocations: 4.242 MB / 0.6969 GB, free: 10.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.4535, allocations: 4 kB / 0.6969 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4535, allocations: 4 kB / 0.6969 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007389/0.4609, allocations: 1.842 MB / 0.6987 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.462, allocations: 187.7 kB / 0.6988 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02406/0.4861, allocations: 9.158 MB / 0.7078 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.4877, allocations: 167.2 kB / 0.7079 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.4879, allocations: 35.98 kB / 0.708 GB, free: 14.53 MB / 494.1 MB 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.0004702/0.4883, allocations: 229.6 kB / 0.7082 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.4886, allocations: 115.2 kB / 0.7083 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.5022, allocations: 3.845 MB / 0.7121 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.5022, allocations: 8 kB / 0.7121 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5022, allocations: 3.984 kB / 0.7121 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.5022, allocations: 3.984 kB / 0.7121 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.5177, allocations: 4.782 MB / 0.7167 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.5178, allocations: 4 kB / 0.7167 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.5185, allocations: 103.8 kB / 0.7168 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006427/0.5249, allocations: 1.741 MB / 0.7185 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.5251, allocations: 16 kB / 0.7186 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/0.5452, allocations: 7.774 MB / 0.7262 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5452, allocations: 3.984 kB / 0.7262 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.5608, allocations: 4.732 MB / 0.7308 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.5613, allocations: 123.1 kB / 0.7309 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.5615, allocations: 16 kB / 0.7309 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5626, allocations: 91.89 kB / 0.731 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006557/0.5632, allocations: 208.6 kB / 0.7312 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/0.5633, allocations: 23.98 kB / 0.7312 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008272/0.5641, allocations: 0.5741 MB / 0.7318 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5641, allocations: 0 / 0.7318 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001236/0.5653, allocations: 427.7 kB / 0.7322 GB, free: 5.48 MB / 0.4981 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.01578/0.5811, allocations: 5.313 MB / 0.7374 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007295/0.5884, allocations: 2.289 MB / 0.7396 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5884, allocations: 0 / 0.7396 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004847/0.5933, allocations: 1.46 MB / 0.741 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.5941, allocations: 93.44 kB / 0.7411 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04017/0.6343, allocations: 14.9 MB / 0.7557 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.6348, allocations: 459.1 kB / 0.7561 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004301/0.6353, allocations: 82.42 kB / 0.7562 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/0.6359, allocations: 387.3 kB / 0.7566 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.6359, allocations: 4 kB / 0.7566 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07965/0.7155, allocations: 34.53 MB / 0.7903 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.4, allocations: 12.02 kB / 0.7903 GB, free: 9.637 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.81149967480451] Failed to read output from testmodel.py, exit status != 0: 14.53489422192797 14.551972468 14.176702407 Calling exit ...