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.07948/0.07948, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.001082/0.001082, allocations: 111.4 kB / 31.84 MB, free: 3.879 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.257/1.257, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.001412/0.001412, allocations: 187.8 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4108/0.4108, allocations: 78.52 MB / 419.3 MB, free: 11.2 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.00365/0.00365, allocations: 139.7 kB / 0.5554 GB, free: 28.76 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1024, allocations: 68.14 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.006618/0.109, allocations: 5.894 MB / 0.6277 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.112, allocations: 1.725 MB / 0.6294 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.1123, allocations: 8 kB / 0.6294 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.1128, allocations: 210.2 kB / 0.6296 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.1143, allocations: 0.6847 MB / 0.6302 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1154, allocations: 0.5686 MB / 0.6308 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.1167, allocations: 1.284 MB / 0.632 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.1171, allocations: 283 kB / 0.6323 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005996/0.1177, allocations: 0.5368 MB / 0.6328 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007681/0.1185, allocations: 0.6611 MB / 0.6335 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.1187, allocations: 88 kB / 0.6336 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.1191, allocations: 227.9 kB / 0.6338 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.1193, allocations: 247 kB / 0.634 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004976/0.1198, allocations: 0.5592 MB / 0.6346 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.1212, allocations: 1.389 MB / 0.6359 GB, free: 1.496 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1213, allocations: 8 kB / 0.6359 GB, free: 1.488 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1213, allocations: 0 / 0.6359 GB, free: 1.488 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.1213, allocations: 0 / 0.6359 GB, free: 1.488 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.007373/0.1287, allocations: 2.41 MB / 0.6383 GB, free: 15.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1287, allocations: 15.98 kB / 0.6383 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.1289, allocations: 118.5 kB / 0.6384 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004751/0.1336, allocations: 0.7641 MB / 0.6392 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.1347, allocations: 0.7252 MB / 0.6399 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.135, allocations: 252.2 kB / 0.6401 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.1352, allocations: 75.95 kB / 0.6402 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.1373, allocations: 0.9715 MB / 0.6411 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1373, allocations: 0 / 0.6411 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.427e-05/0.1374, allocations: 28 kB / 0.6412 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.1374, allocations: 16 kB / 0.6412 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.1396, allocations: 0.9877 MB / 0.6421 GB, free: 10.98 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.00529/0.1449, allocations: 3.202 MB / 0.6453 GB, free: 7.625 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.1471, allocations: 1.333 MB / 0.6466 GB, free: 6.176 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.1486, allocations: 0.7071 MB / 0.6473 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.1487, allocations: 16.97 kB / 0.6473 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.1487, allocations: 43.56 kB / 0.6473 GB, free: 5.398 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.034e-06/0.1487, allocations: 0 / 0.6473 GB, free: 5.398 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02496/0.1737, allocations: 6.392 MB / 0.6536 GB, free: 14.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.1738, allocations: 68.28 kB / 0.6536 GB, free: 14.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.1748, allocations: 0.8065 MB / 0.6544 GB, free: 14.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-05/0.1749, allocations: 41.7 kB / 0.6544 GB, free: 14.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.1753, allocations: 433.1 kB / 0.6549 GB, free: 13.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.1756, allocations: 317.3 kB / 0.6552 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003898/0.176, allocations: 198.8 kB / 0.6554 GB, free: 13.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1762, allocations: 345.9 kB / 0.6557 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.1777, allocations: 0.6741 MB / 0.6563 GB, free: 12.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.1794, allocations: 0.8033 MB / 0.6571 GB, free: 11.22 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.003414/0.1828, allocations: 1.565 MB / 0.6587 GB, free: 9.605 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1828, allocations: 0 / 0.6587 GB, free: 9.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01431/0.1971, allocations: 4.204 MB / 0.6628 GB, free: 5.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.1972, allocations: 10.97 kB / 0.6628 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1972, allocations: 4 kB / 0.6628 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007197/0.2044, allocations: 1.865 MB / 0.6646 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008179/0.2053, allocations: 171.8 kB / 0.6648 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/0.2285, allocations: 9.583 MB / 0.6741 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.2298, allocations: 155.3 kB / 0.6743 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.23, allocations: 36 kB / 0.6743 GB, free: 9.418 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.0004243/0.2304, allocations: 229.6 kB / 0.6745 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.2306, allocations: 115.2 kB / 0.6746 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/0.2439, allocations: 3.876 MB / 0.6784 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.2439, allocations: 8 kB / 0.6784 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2439, allocations: 0 / 0.6784 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.2439, allocations: 7.969 kB / 0.6784 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.2588, allocations: 5.361 MB / 0.6837 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.2588, allocations: 0 / 0.6837 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.2593, allocations: 95.83 kB / 0.6838 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00606/0.2654, allocations: 1.737 MB / 0.6855 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.817e-05/0.2655, allocations: 16 kB / 0.6855 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01949/0.285, allocations: 8.081 MB / 0.6934 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2851, allocations: 4 kB / 0.6934 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/0.3, allocations: 4.713 MB / 0.698 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.3004, allocations: 196.2 kB / 0.6982 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.3005, allocations: 23.86 kB / 0.6982 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.3014, allocations: 91.89 kB / 0.6983 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005934/0.3021, allocations: 200.7 kB / 0.6985 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/0.3021, allocations: 23.94 kB / 0.6985 GB, free: 304 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007277/0.3029, allocations: 0.5421 MB / 0.699 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3029, allocations: 0 / 0.699 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001107/0.304, allocations: 423.7 kB / 0.6994 GB, free: 15.33 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.01538/0.3194, allocations: 5.281 MB / 0.7046 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00709/0.3265, allocations: 2.403 MB / 0.7069 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3265, allocations: 0 / 0.7069 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004758/0.3313, allocations: 1.53 MB / 0.7084 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.332, allocations: 77.84 kB / 0.7085 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.247/0.579, allocations: 14.65 MB / 0.7228 GB, free: 84.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.5797, allocations: 1.036 MB / 0.7238 GB, free: 83.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003653/0.5801, allocations: 78.8 kB / 0.7239 GB, free: 83.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.5805, allocations: 383.7 kB / 0.7242 GB, free: 83.2 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.5805, allocations: 2.531 kB / 0.7242 GB, free: 83.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/0.641, allocations: 32.07 MB / 0.7556 GB, free: 64.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.22, allocations: 18.45 kB / 0.7556 GB, free: 64.04 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)