Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005008/0.005008, allocations: 98.19 kB / 15.73 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 239.4 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 196.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4546/0.4546, allocations: 78.53 MB / 418.4 MB, free: 3.078 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003209/0.003209, allocations: 84.08 kB / 0.5532 GB, free: 1.445 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3168, allocations: 68.17 MB / 0.6197 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.004547/0.3214, allocations: 5.835 MB / 0.6254 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.3241, allocations: 1.763 MB / 0.6271 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/0.3245, allocations: 11.94 kB / 0.6272 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.3249, allocations: 198.3 kB / 0.6273 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.3264, allocations: 0.6953 MB / 0.628 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3275, allocations: 0.5652 MB / 0.6286 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3291, allocations: 1.28 MB / 0.6298 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.3296, allocations: 283.2 kB / 0.6301 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008855/0.3305, allocations: 0.5368 MB / 0.6306 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/0.3312, allocations: 0.6533 MB / 0.6313 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.3314, allocations: 92 kB / 0.6313 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.3319, allocations: 235.9 kB / 0.6316 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.3321, allocations: 254.8 kB / 0.6318 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.3326, allocations: 0.5593 MB / 0.6324 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.3344, allocations: 1.382 MB / 0.6337 GB, free: 11.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3344, allocations: 0 / 0.6337 GB, free: 11.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.111e-06/0.3345, allocations: 0 / 0.6337 GB, free: 11.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.3345, allocations: 3.938 kB / 0.6337 GB, free: 11.77 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.007718/0.3422, allocations: 2.418 MB / 0.6361 GB, free: 9.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3423, allocations: 11.97 kB / 0.6361 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.3424, allocations: 114.5 kB / 0.6362 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/0.3474, allocations: 0.768 MB / 0.6369 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.3486, allocations: 0.7252 MB / 0.6376 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.3489, allocations: 252.1 kB / 0.6379 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.3491, allocations: 75.98 kB / 0.638 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.3512, allocations: 0.9677 MB / 0.6389 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3513, allocations: 0 / 0.6389 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.49e-05/0.3514, allocations: 28 kB / 0.6389 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.3514, allocations: 16 kB / 0.6389 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.3536, allocations: 0.9837 MB / 0.6399 GB, free: 5.262 MB / 446.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.005774/0.3594, allocations: 3.214 MB / 0.643 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.3617, allocations: 1.328 MB / 0.6443 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.3633, allocations: 0.7149 MB / 0.645 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.3634, allocations: 12.98 kB / 0.6451 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3634, allocations: 43.56 kB / 0.6451 GB, free: 15.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.835e-06/0.3635, allocations: 0 / 0.6451 GB, free: 15.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.0259/0.3894, allocations: 6.38 MB / 0.6513 GB, free: 9.254 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.3895, allocations: 64.34 kB / 0.6514 GB, free: 9.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3906, allocations: 0.8066 MB / 0.6522 GB, free: 8.348 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.3908, allocations: 37.7 kB / 0.6522 GB, free: 8.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.3912, allocations: 441 kB / 0.6526 GB, free: 7.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.3915, allocations: 321.3 kB / 0.6529 GB, free: 7.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.3919, allocations: 190.9 kB / 0.6531 GB, free: 7.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3921, allocations: 353.9 kB / 0.6535 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.3937, allocations: 0.6741 MB / 0.6541 GB, free: 6.332 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.3954, allocations: 0.8072 MB / 0.6549 GB, free: 5.492 MB / 462.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.003467/0.3989, allocations: 1.569 MB / 0.6564 GB, free: 3.875 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3989, allocations: 4 kB / 0.6564 GB, free: 3.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01473/0.4136, allocations: 4.204 MB / 0.6605 GB, free: 15.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.4137, allocations: 8 kB / 0.6606 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4137, allocations: 4 kB / 0.6606 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00738/0.4211, allocations: 1.857 MB / 0.6624 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/0.4221, allocations: 183.7 kB / 0.6625 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02397/0.446, allocations: 9.568 MB / 0.6719 GB, free: 3.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4475, allocations: 163.2 kB / 0.672 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.4476, allocations: 39.98 kB / 0.6721 GB, free: 3.684 MB / 478.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.0004341/0.448, allocations: 217.7 kB / 0.6723 GB, free: 3.461 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.4482, allocations: 119.2 kB / 0.6724 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/0.462, allocations: 3.879 MB / 0.6762 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.462, allocations: 12 kB / 0.6762 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.462, allocations: 0 / 0.6762 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.61e-05/0.4621, allocations: 3.984 kB / 0.6762 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.4776, allocations: 5.361 MB / 0.6814 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.4777, allocations: 0 / 0.6814 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.4783, allocations: 95.88 kB / 0.6815 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006364/0.4847, allocations: 1.741 MB / 0.6832 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.4848, allocations: 19.98 kB / 0.6833 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/0.5055, allocations: 8.066 MB / 0.6911 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5055, allocations: 0 / 0.6911 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/0.5213, allocations: 4.721 MB / 0.6957 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.5217, allocations: 196.2 kB / 0.6959 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.5219, allocations: 16 kB / 0.6959 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.523, allocations: 96.02 kB / 0.696 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006544/0.5237, allocations: 200.7 kB / 0.6962 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.327e-05/0.5238, allocations: 20 kB / 0.6962 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007655/0.5245, allocations: 0.5422 MB / 0.6968 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5245, allocations: 0 / 0.6968 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001256/0.5258, allocations: 419.7 kB / 0.6972 GB, free: 9.617 MB / 0.4981 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.01598/0.5418, allocations: 5.302 MB / 0.7024 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007578/0.5494, allocations: 2.394 MB / 0.7047 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5494, allocations: 0 / 0.7047 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005022/0.5545, allocations: 1.523 MB / 0.7062 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008503/0.5553, allocations: 87.33 kB / 0.7063 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04075/0.5961, allocations: 14.66 MB / 0.7206 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.5969, allocations: 1.033 MB / 0.7216 GB, free: 348 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003621/0.5973, allocations: 82.31 kB / 0.7217 GB, free: 264 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/0.5979, allocations: 379.4 kB / 0.722 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.5979, allocations: 0 / 0.722 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0705/0.6684, allocations: 32.07 MB / 0.7533 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/16.12, allocations: 4.688 kB / 0.7533 GB, free: 15.93 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)