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.07914/0.07914, allocations: 12.37 MB / 31.2 MB, free: 24 kB / 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.001258/0.001258, allocations: 123.5 kB / 37.25 MB, free: 1.242 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.356/1.356, allocations: 207.6 MB / 250.8 MB, free: 7.344 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.001534/0.001534, allocations: 208.5 kB / 306.1 MB, free: 492 kB / 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.3263/0.3263, allocations: 79.73 MB / 440.9 MB, free: 12.46 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.004118/0.004118, allocations: 151.8 kB / 0.5875 GB, free: 7.586 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.357, allocations: 71.96 MB / 0.6578 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.007231/0.3642, allocations: 5.926 MB / 0.6636 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.3687, allocations: 1.747 MB / 0.6653 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.3695, allocations: 10.03 kB / 0.6653 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.3701, allocations: 198.8 kB / 0.6655 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.3722, allocations: 0.7544 MB / 0.6662 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.3737, allocations: 0.5773 MB / 0.6668 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.3756, allocations: 1.283 MB / 0.668 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.376, allocations: 191.5 kB / 0.6682 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008908/0.3769, allocations: 0.5521 MB / 0.6688 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009266/0.3778, allocations: 0.6659 MB / 0.6694 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.378, allocations: 91.78 kB / 0.6695 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.3785, allocations: 236.3 kB / 0.6697 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.3788, allocations: 248.6 kB / 0.67 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006011/0.3794, allocations: 0.5517 MB / 0.6705 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.3815, allocations: 1.39 MB / 0.6719 GB, free: 9.582 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3815, allocations: 5.562 kB / 0.6719 GB, free: 9.578 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3815, allocations: 0 / 0.6719 GB, free: 9.578 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.3815, allocations: 0 / 0.6719 GB, free: 9.578 MB / 462.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.008064/0.3895, allocations: 2.337 MB / 0.6742 GB, free: 8.164 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3896, allocations: 10.22 kB / 0.6742 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.3898, allocations: 117.2 kB / 0.6743 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00489/0.3946, allocations: 0.7663 MB / 0.675 GB, free: 7.746 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.3963, allocations: 0.6669 MB / 0.6757 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.3967, allocations: 303.1 kB / 0.676 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.3969, allocations: 77.73 kB / 0.676 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.3991, allocations: 0.9668 MB / 0.677 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3991, allocations: 4.938 kB / 0.677 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.3992, allocations: 28.81 kB / 0.677 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.3992, allocations: 20.62 kB / 0.677 GB, free: 6.293 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.4014, allocations: 0.9788 MB / 0.678 GB, free: 5.832 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.00608/0.4075, allocations: 3.159 MB / 0.6811 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.4093, allocations: 0.8069 MB / 0.6819 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.4107, allocations: 0.6353 MB / 0.6825 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.4108, allocations: 17.92 kB / 0.6825 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.4108, allocations: 39.12 kB / 0.6825 GB, free: 2.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.184e-06/0.4108, allocations: 0 / 0.6825 GB, free: 2.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02372/0.4345, allocations: 6.266 MB / 0.6887 GB, free: 15.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.4346, allocations: 65.31 kB / 0.6887 GB, free: 15.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.4358, allocations: 0.8109 MB / 0.6895 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.436, allocations: 41.14 kB / 0.6896 GB, free: 14.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.4363, allocations: 435.3 kB / 0.69 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/0.4367, allocations: 319.8 kB / 0.6903 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/0.437, allocations: 189.1 kB / 0.6905 GB, free: 14.13 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4372, allocations: 352 kB / 0.6908 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4387, allocations: 0.6755 MB / 0.6914 GB, free: 13.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4403, allocations: 0.8095 MB / 0.6922 GB, free: 12.98 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.003303/0.4436, allocations: 1.49 MB / 0.6937 GB, free: 12.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4436, allocations: 1.594 kB / 0.6937 GB, free: 12.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0138/0.4574, allocations: 4.171 MB / 0.6978 GB, free: 9.168 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4574, allocations: 11.94 kB / 0.6978 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.4575, allocations: 4 kB / 0.6978 GB, free: 9.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007016/0.4645, allocations: 1.865 MB / 0.6996 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009968/0.4655, allocations: 171.8 kB / 0.6998 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/0.4884, allocations: 9.479 MB / 0.709 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.4898, allocations: 155.3 kB / 0.7092 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/0.4899, allocations: 35.98 kB / 0.7092 GB, free: 13.33 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.0004555/0.4904, allocations: 225.6 kB / 0.7094 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.4906, allocations: 115.2 kB / 0.7095 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.5032, allocations: 3.848 MB / 0.7133 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.5032, allocations: 8 kB / 0.7133 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5032, allocations: 0 / 0.7133 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.5033, allocations: 7.922 kB / 0.7133 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.5181, allocations: 5.29 MB / 0.7185 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.5181, allocations: 0 / 0.7185 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/0.5188, allocations: 95.77 kB / 0.7186 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005782/0.5245, allocations: 1.745 MB / 0.7203 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.5247, allocations: 19.94 kB / 0.7203 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/0.5433, allocations: 7.965 MB / 0.7281 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5433, allocations: 0 / 0.7281 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.5574, allocations: 4.686 MB / 0.7326 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.5578, allocations: 123.1 kB / 0.7328 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.5579, allocations: 20 kB / 0.7328 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009029/0.5588, allocations: 91.89 kB / 0.7329 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005883/0.5594, allocations: 212.6 kB / 0.7331 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.5595, allocations: 16 kB / 0.7331 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007305/0.5602, allocations: 0.5461 MB / 0.7336 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5602, allocations: 0 / 0.7336 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001185/0.5614, allocations: 419.7 kB / 0.734 GB, free: 3.605 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.01451/0.5759, allocations: 5.25 MB / 0.7391 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006664/0.5826, allocations: 2.285 MB / 0.7414 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5826, allocations: 0 / 0.7414 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004452/0.587, allocations: 1.452 MB / 0.7428 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.5878, allocations: 79.34 kB / 0.7429 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03749/0.6253, allocations: 14.6 MB / 0.7571 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.626, allocations: 1.037 MB / 0.7581 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003753/0.6264, allocations: 82.3 kB / 0.7582 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/0.6269, allocations: 387.3 kB / 0.7586 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/0.6269, allocations: 0 / 0.7586 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07842/0.7054, allocations: 33.2 MB / 0.791 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.52, allocations: 19.75 kB / 0.791 GB, free: 8.953 MB / 0.5606 GB " [Timeout remaining time 643] (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.72398846899887] Failed to read output from testmodel.py, exit status != 0: 16.65480982599911 16.680051926 16.293664538 Calling exit ...