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.005957/0.005957, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.289/1.289, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001376/0.001376, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4305/0.4305, allocations: 78.53 MB / 418.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 79.83 kB / 0.5532 GB, free: 1.461 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3116, allocations: 68.16 MB / 0.6197 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.004661/0.3163, allocations: 5.84 MB / 0.6254 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.3194, allocations: 1.763 MB / 0.6271 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006836/0.3201, allocations: 8 kB / 0.6271 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.3206, allocations: 202.3 kB / 0.6273 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.3222, allocations: 0.748 MB / 0.6281 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3232, allocations: 0.5577 MB / 0.6286 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.3245, allocations: 1.292 MB / 0.6299 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.3249, allocations: 279.1 kB / 0.6301 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006875/0.3256, allocations: 0.533 MB / 0.6307 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.3263, allocations: 0.665 MB / 0.6313 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.3265, allocations: 92 kB / 0.6314 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.327, allocations: 227.9 kB / 0.6316 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.3272, allocations: 250.9 kB / 0.6319 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.3277, allocations: 0.5515 MB / 0.6324 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.3293, allocations: 1.401 MB / 0.6338 GB, free: 11.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3293, allocations: 0 / 0.6338 GB, free: 11.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3293, allocations: 0 / 0.6338 GB, free: 11.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.3293, allocations: 0 / 0.6338 GB, free: 11.73 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.007473/0.3368, allocations: 2.416 MB / 0.6361 GB, free: 9.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3369, allocations: 8.031 kB / 0.6361 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.337, allocations: 118.5 kB / 0.6362 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/0.3419, allocations: 0.7641 MB / 0.637 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.343, allocations: 0.7252 MB / 0.6377 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.3433, allocations: 256.1 kB / 0.6379 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.3435, allocations: 72 kB / 0.638 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.3454, allocations: 0.9677 MB / 0.639 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3455, allocations: 3.938 kB / 0.639 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.992e-05/0.3456, allocations: 32 kB / 0.639 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.3456, allocations: 16 kB / 0.639 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.3476, allocations: 0.9799 MB / 0.64 GB, free: 5.23 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.005022/0.3526, allocations: 3.214 MB / 0.6431 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.3547, allocations: 1.33 MB / 0.6444 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.3561, allocations: 0.711 MB / 0.6451 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.419e-05/0.3562, allocations: 9 kB / 0.6451 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3562, allocations: 47.55 kB / 0.6451 GB, free: 15.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.856e-06/0.3562, allocations: 0 / 0.6451 GB, free: 15.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02429/0.3805, allocations: 6.376 MB / 0.6514 GB, free: 9.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3806, allocations: 64.34 kB / 0.6514 GB, free: 9.152 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/0.3816, allocations: 0.8066 MB / 0.6522 GB, free: 8.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.3818, allocations: 41.7 kB / 0.6523 GB, free: 8.273 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.3821, allocations: 441 kB / 0.6527 GB, free: 7.836 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.3824, allocations: 317.2 kB / 0.653 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.3827, allocations: 194.9 kB / 0.6532 GB, free: 7.324 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3829, allocations: 349.9 kB / 0.6535 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.3843, allocations: 0.6818 MB / 0.6542 GB, free: 6.297 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.3859, allocations: 0.7994 MB / 0.655 GB, free: 5.465 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.003144/0.389, allocations: 1.569 MB / 0.6565 GB, free: 3.848 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.389, allocations: 0 / 0.6565 GB, free: 3.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01413/0.4032, allocations: 4.208 MB / 0.6606 GB, free: 15.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.4032, allocations: 4 kB / 0.6606 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4033, allocations: 4 kB / 0.6606 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007131/0.4104, allocations: 1.869 MB / 0.6624 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.4113, allocations: 175.8 kB / 0.6626 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/0.4335, allocations: 9.572 MB / 0.6719 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.4348, allocations: 159.2 kB / 0.6721 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/0.4349, allocations: 35.98 kB / 0.6721 GB, free: 3.66 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.0003878/0.4353, allocations: 236 kB / 0.6724 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.4355, allocations: 115.2 kB / 0.6725 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/0.4482, allocations: 3.876 MB / 0.6762 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.4482, allocations: 8 kB / 0.6763 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4483, allocations: 0 / 0.6763 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.4483, allocations: 7.969 kB / 0.6763 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.4628, allocations: 5.357 MB / 0.6815 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.4628, allocations: 3.984 kB / 0.6815 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.4634, allocations: 99.83 kB / 0.6816 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005954/0.4694, allocations: 1.741 MB / 0.6833 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.4695, allocations: 16 kB / 0.6833 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.488, allocations: 8.074 MB / 0.6912 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.488, allocations: 3.938 kB / 0.6912 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/0.5024, allocations: 4.709 MB / 0.6958 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.5028, allocations: 192.2 kB / 0.696 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.5029, allocations: 20 kB / 0.696 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009409/0.5039, allocations: 87.89 kB / 0.6961 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005875/0.5045, allocations: 204.6 kB / 0.6963 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-05/0.5046, allocations: 27.94 kB / 0.6963 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000756/0.5053, allocations: 0.5383 MB / 0.6968 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5053, allocations: 0 / 0.6968 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001413/0.5068, allocations: 427.7 kB / 0.6972 GB, free: 9.578 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.015/0.5218, allocations: 5.292 MB / 0.7024 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006867/0.5287, allocations: 2.39 MB / 0.7047 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5287, allocations: 0.5625 kB / 0.7047 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004548/0.5333, allocations: 1.522 MB / 0.7062 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.534, allocations: 82.98 kB / 0.7063 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03664/0.5707, allocations: 14.66 MB / 0.7206 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.5713, allocations: 1.037 MB / 0.7216 GB, free: 316 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003741/0.5717, allocations: 78.31 kB / 0.7217 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/0.5722, allocations: 379.4 kB / 0.7221 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of SimCode: time 2.014e-06/0.5723, allocations: 3.938 kB / 0.7221 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06315/0.6354, allocations: 32.07 MB / 0.7534 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.42, allocations: 14.33 kB / 0.7534 GB, free: 15.89 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)