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/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.0744/0.0744, allocations: 12.36 MB / 28.71 MB, free: 0.6016 MB / 19.63 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.001212/0.001212, allocations: 111.2 kB / 34.42 MB, free: 1.684 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.399/1.399, allocations: 207.6 MB / 247.6 MB, free: 8.836 MB / 190.1 MB " [Timeout remaining time 179] 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.001526/0.001526, allocations: 208.4 kB / 302.5 MB, free: 2.352 MB / 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.3181/0.3181, allocations: 79.74 MB / 436.9 MB, free: 11.7 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.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"}) [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.003988/0.003988, allocations: 146.7 kB / 0.5819 GB, free: 7.938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3403, allocations: 71.92 MB / 0.6521 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.006853/0.3472, allocations: 5.91 MB / 0.6579 GB, free: 8.957 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.3507, allocations: 1.744 MB / 0.6596 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.3512, allocations: 12 kB / 0.6596 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.3517, allocations: 202.3 kB / 0.6598 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.3534, allocations: 0.7493 MB / 0.6605 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.3545, allocations: 0.5762 MB / 0.6611 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.3559, allocations: 1.284 MB / 0.6624 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.3562, allocations: 187.1 kB / 0.6625 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006157/0.3568, allocations: 0.5485 MB / 0.6631 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007228/0.3575, allocations: 0.6689 MB / 0.6637 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3577, allocations: 92 kB / 0.6638 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.3581, allocations: 231.8 kB / 0.664 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3583, allocations: 250.9 kB / 0.6643 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004871/0.3588, allocations: 0.5554 MB / 0.6648 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.3603, allocations: 1.391 MB / 0.6662 GB, free: 460 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3603, allocations: 3.984 kB / 0.6662 GB, free: 456 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3603, allocations: 0 / 0.6662 GB, free: 456 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3603, allocations: 0 / 0.6662 GB, free: 456 kB / 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.007767/0.3681, allocations: 2.406 MB / 0.6685 GB, free: 13.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3681, allocations: 11.98 kB / 0.6685 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.3683, allocations: 122.5 kB / 0.6687 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.3732, allocations: 0.7641 MB / 0.6694 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.3745, allocations: 0.7253 MB / 0.6701 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/0.3748, allocations: 256.1 kB / 0.6704 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.375, allocations: 75.95 kB / 0.6704 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.3772, allocations: 0.9677 MB / 0.6714 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3772, allocations: 3.984 kB / 0.6714 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.3773, allocations: 24 kB / 0.6714 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.3773, allocations: 16 kB / 0.6714 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.3796, allocations: 0.9916 MB / 0.6724 GB, free: 9.938 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.00569/0.3853, allocations: 3.21 MB / 0.6755 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.3875, allocations: 1.247 MB / 0.6767 GB, free: 5.211 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.389, allocations: 0.6407 MB / 0.6774 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.3891, allocations: 12.98 kB / 0.6774 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.3891, allocations: 43.56 kB / 0.6774 GB, free: 4.504 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 3.407e-06/0.3892, allocations: 0 / 0.6774 GB, free: 4.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02565/0.4148, allocations: 6.345 MB / 0.6836 GB, free: 14.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.4149, allocations: 64.34 kB / 0.6837 GB, free: 14.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.416, allocations: 0.8026 MB / 0.6845 GB, free: 13.22 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.4162, allocations: 41.7 kB / 0.6845 GB, free: 13.17 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.4165, allocations: 437 kB / 0.6849 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.4169, allocations: 321.3 kB / 0.6852 GB, free: 12.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004016/0.4173, allocations: 198.9 kB / 0.6854 GB, free: 12.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4175, allocations: 341.9 kB / 0.6857 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.419, allocations: 0.678 MB / 0.6864 GB, free: 11.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.4207, allocations: 0.8072 MB / 0.6872 GB, free: 10.36 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.003513/0.4242, allocations: 1.57 MB / 0.6887 GB, free: 8.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.4243, allocations: 0 / 0.6887 GB, free: 8.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01464/0.4389, allocations: 4.161 MB / 0.6928 GB, free: 4.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.4389, allocations: 12 kB / 0.6928 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4389, allocations: 0 / 0.6928 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007392/0.4463, allocations: 1.865 MB / 0.6946 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/0.4472, allocations: 179.8 kB / 0.6948 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/0.4712, allocations: 9.578 MB / 0.7041 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4725, allocations: 155.3 kB / 0.7043 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.4726, allocations: 51.92 kB / 0.7043 GB, free: 8.586 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.0004282/0.4731, allocations: 213.7 kB / 0.7045 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.4733, allocations: 115.2 kB / 0.7047 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.4867, allocations: 3.837 MB / 0.7084 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.4867, allocations: 8 kB / 0.7084 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4867, allocations: 0 / 0.7084 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/0.4867, allocations: 19.86 kB / 0.7084 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.502, allocations: 5.318 MB / 0.7136 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.502, allocations: 0 / 0.7136 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.5027, allocations: 91.89 kB / 0.7137 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006199/0.5089, allocations: 1.745 MB / 0.7154 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.509, allocations: 12 kB / 0.7154 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/0.5286, allocations: 8.069 MB / 0.7233 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5286, allocations: 4 kB / 0.7233 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.5438, allocations: 4.686 MB / 0.7279 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.5442, allocations: 196.4 kB / 0.7281 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.5443, allocations: 16 kB / 0.7281 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009432/0.5453, allocations: 87.89 kB / 0.7282 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006552/0.5459, allocations: 204.7 kB / 0.7284 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.546, allocations: 19.94 kB / 0.7284 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007049/0.5467, allocations: 0.5461 MB / 0.7289 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5467, allocations: 0 / 0.7289 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001173/0.5479, allocations: 423.4 kB / 0.7293 GB, free: 14.63 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.01559/0.5635, allocations: 5.261 MB / 0.7345 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007043/0.5705, allocations: 2.285 MB / 0.7367 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5705, allocations: 0 / 0.7367 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004772/0.5753, allocations: 1.452 MB / 0.7381 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.576, allocations: 82.56 kB / 0.7382 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03838/0.6144, allocations: 14.59 MB / 0.7524 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.615, allocations: 1.041 MB / 0.7535 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003398/0.6154, allocations: 82.3 kB / 0.7535 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.6159, allocations: 383.3 kB / 0.7539 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.6159, allocations: 0 / 0.7539 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07172/0.6876, allocations: 32.34 MB / 0.7855 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/15.97, allocations: 7.453 kB / 0.7855 GB, free: 4.875 MB / 0.5606 GB " [Timeout remaining time 644] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.182257754990133] Failed to read output from testmodel.py, exit status != 0: 16.0742266580055 16.087769367 15.724543515 Calling exit ...