Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08/0.08, allocations: 12.59 MB / 28.23 MB, free: 0.6914 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 111.4 kB / 31.84 MB, free: 3.852 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 191.3 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4152/0.4152, allocations: 78.52 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 138.7 kB / 0.5554 GB, free: 28.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1086, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.00585/0.1145, allocations: 5.894 MB / 0.6277 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.1177, allocations: 1.728 MB / 0.6294 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005347/0.1183, allocations: 8 kB / 0.6294 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.1188, allocations: 206.2 kB / 0.6296 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.1206, allocations: 0.7394 MB / 0.6303 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.1218, allocations: 0.5645 MB / 0.6308 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.123, allocations: 1.288 MB / 0.6321 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.1234, allocations: 279 kB / 0.6324 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.1239, allocations: 0.533 MB / 0.6329 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006006/0.1245, allocations: 0.6611 MB / 0.6335 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.1247, allocations: 92 kB / 0.6336 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.1251, allocations: 231.8 kB / 0.6338 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.1253, allocations: 243 kB / 0.6341 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.1257, allocations: 0.5592 MB / 0.6346 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.127, allocations: 1.389 MB / 0.636 GB, free: 1.457 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.127, allocations: 0 / 0.636 GB, free: 1.457 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.127, allocations: 0 / 0.636 GB, free: 1.457 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.127, allocations: 7.984 kB / 0.636 GB, free: 1.449 MB / 446.1 MB 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.007434/0.1345, allocations: 2.41 MB / 0.6383 GB, free: 14.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1345, allocations: 11.98 kB / 0.6383 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.1347, allocations: 114.5 kB / 0.6385 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.1396, allocations: 0.7719 MB / 0.6392 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.1408, allocations: 0.733 MB / 0.6399 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.1411, allocations: 248.2 kB / 0.6402 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.1412, allocations: 71.95 kB / 0.6402 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.1433, allocations: 0.9754 MB / 0.6412 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1433, allocations: 4 kB / 0.6412 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.1434, allocations: 27.98 kB / 0.6412 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1434, allocations: 16 kB / 0.6412 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.1455, allocations: 0.9838 MB / 0.6422 GB, free: 10.94 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.005206/0.1507, allocations: 3.206 MB / 0.6453 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.1528, allocations: 1.329 MB / 0.6466 GB, free: 6.133 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.1542, allocations: 0.711 MB / 0.6473 GB, free: 5.422 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.095e-05/0.1543, allocations: 16.98 kB / 0.6473 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1543, allocations: 39.56 kB / 0.6474 GB, free: 5.355 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.905e-06/0.1543, allocations: 4 kB / 0.6474 GB, free: 5.352 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02474/0.1791, allocations: 6.384 MB / 0.6536 GB, free: 14.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1792, allocations: 72.28 kB / 0.6537 GB, free: 14.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.1804, allocations: 0.8065 MB / 0.6545 GB, free: 14.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.1806, allocations: 41.7 kB / 0.6545 GB, free: 13.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.1809, allocations: 437.1 kB / 0.6549 GB, free: 13.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.1813, allocations: 317.3 kB / 0.6552 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000453/0.1818, allocations: 198.8 kB / 0.6554 GB, free: 13.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1819, allocations: 341.9 kB / 0.6557 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.1834, allocations: 0.6819 MB / 0.6564 GB, free: 12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.185, allocations: 0.7994 MB / 0.6572 GB, free: 11.17 MB / 478.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.003284/0.1883, allocations: 1.562 MB / 0.6587 GB, free: 9.562 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.1883, allocations: 4 kB / 0.6587 GB, free: 9.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01407/0.2024, allocations: 4.204 MB / 0.6628 GB, free: 5.336 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2025, allocations: 4 kB / 0.6628 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2025, allocations: 4 kB / 0.6628 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007108/0.2096, allocations: 1.869 MB / 0.6646 GB, free: 3.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008732/0.2105, allocations: 171.8 kB / 0.6648 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/0.2339, allocations: 9.58 MB / 0.6742 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.2354, allocations: 151.3 kB / 0.6743 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.2356, allocations: 39.98 kB / 0.6743 GB, free: 9.375 MB / 494.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.order5Type1_Inputs_Outputs.delta = 0.0. 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.0005259/0.2361, allocations: 229.6 kB / 0.6746 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.2364, allocations: 111.2 kB / 0.6747 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.2494, allocations: 3.872 MB / 0.6785 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2494, allocations: 12 kB / 0.6785 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2494, allocations: 0 / 0.6785 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.2495, allocations: 3.984 kB / 0.6785 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.2642, allocations: 5.357 MB / 0.6837 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.2643, allocations: 0 / 0.6837 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/0.2649, allocations: 95.83 kB / 0.6838 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005964/0.2709, allocations: 1.745 MB / 0.6855 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.2711, allocations: 16 kB / 0.6855 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/0.2899, allocations: 8.077 MB / 0.6934 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2899, allocations: 0 / 0.6934 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/0.3048, allocations: 4.713 MB / 0.698 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/0.3052, allocations: 200.2 kB / 0.6982 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.3056, allocations: 23.88 kB / 0.6982 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.3068, allocations: 87.89 kB / 0.6983 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006733/0.3075, allocations: 204.7 kB / 0.6985 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.3076, allocations: 23.94 kB / 0.6985 GB, free: 268 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000769/0.3084, allocations: 0.5421 MB / 0.699 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3084, allocations: 4 kB / 0.699 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001357/0.3097, allocations: 419.7 kB / 0.6994 GB, free: 15.29 MB / 0.5137 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.01498/0.3247, allocations: 5.281 MB / 0.7046 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007061/0.3318, allocations: 2.403 MB / 0.707 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3319, allocations: 4.125 kB / 0.707 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004825/0.3367, allocations: 1.53 MB / 0.7084 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3378, allocations: 82.78 kB / 0.7085 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2793/0.6171, allocations: 14.65 MB / 0.7228 GB, free: 83.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.6178, allocations: 1.038 MB / 0.7238 GB, free: 83.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003549/0.6182, allocations: 80.2 kB / 0.7239 GB, free: 83.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.6187, allocations: 382.2 kB / 0.7243 GB, free: 83.02 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.6187, allocations: 9.125 kB / 0.7243 GB, free: 83.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05615/0.6748, allocations: 32.07 MB / 0.7556 GB, free: 63.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/15.81, allocations: 10.94 kB / 0.7556 GB, free: 63.54 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)