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.08777/0.08777, allocations: 12.37 MB / 31.21 MB, free: 6.438 MB / 26.18 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.001317/0.001317, allocations: 113 kB / 37.24 MB, free: 1.125 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.443/1.443, allocations: 207.7 MB / 250.9 MB, free: 7.516 MB / 190.1 MB " [Timeout remaining time 178] 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.001586/0.001586, allocations: 216.3 kB / 306.1 MB, free: 424 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.3189/0.3189, allocations: 79.73 MB / 441 MB, free: 12.29 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.004154/0.004154, allocations: 143.8 kB / 0.5875 GB, free: 9.371 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1356, allocations: 71.96 MB / 0.6578 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.2408/0.3764, allocations: 5.194 MB / 0.6628 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.3802, allocations: 1.65 MB / 0.6645 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.3812, allocations: 13.44 kB / 0.6645 GB, free: 7.664 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.3819, allocations: 205.6 kB / 0.6647 GB, free: 7.566 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.384, allocations: 0.7285 MB / 0.6654 GB, free: 7.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3853, allocations: 0.5679 MB / 0.6659 GB, free: 7.055 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.3871, allocations: 1.283 MB / 0.6672 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.3875, allocations: 177.1 kB / 0.6674 GB, free: 6.316 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008148/0.3883, allocations: 0.5436 MB / 0.6679 GB, free: 6.055 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006315/0.3889, allocations: 0.6041 MB / 0.6685 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.3891, allocations: 96.69 kB / 0.6686 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.3895, allocations: 227 kB / 0.6688 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3897, allocations: 256.1 kB / 0.669 GB, free: 5.578 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.3901, allocations: 456.2 kB / 0.6695 GB, free: 5.316 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.3917, allocations: 1.4 MB / 0.6708 GB, free: 4.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3917, allocations: 0.5156 kB / 0.6708 GB, free: 4.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3917, allocations: 1.312 kB / 0.6708 GB, free: 4.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.3917, allocations: 0 / 0.6708 GB, free: 4.68 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.00735/0.3991, allocations: 2.339 MB / 0.6731 GB, free: 3.652 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3991, allocations: 8.281 kB / 0.6731 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.3992, allocations: 118.8 kB / 0.6732 GB, free: 3.566 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.404, allocations: 0.7683 MB / 0.674 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.4052, allocations: 0.6651 MB / 0.6746 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.4055, allocations: 301.8 kB / 0.6749 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.4056, allocations: 74.58 kB / 0.675 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.4076, allocations: 0.9785 MB / 0.6759 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.4076, allocations: 2.812 kB / 0.676 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/0.4077, allocations: 27.88 kB / 0.676 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.4077, allocations: 17.06 kB / 0.676 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.4096, allocations: 0.9756 MB / 0.6769 GB, free: 1.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.004954/0.4146, allocations: 2.398 MB / 0.6793 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.4163, allocations: 0.7911 MB / 0.6801 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.4175, allocations: 0.6424 MB / 0.6807 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.51e-05/0.4176, allocations: 9.984 kB / 0.6807 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.4176, allocations: 41.66 kB / 0.6807 GB, free: 140 kB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.4176, allocations: 0 / 0.6807 GB, free: 140 kB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.0256/0.4432, allocations: 6.268 MB / 0.6869 GB, free: 14.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.4433, allocations: 63.91 kB / 0.6869 GB, free: 14.08 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.4447, allocations: 0.8158 MB / 0.6877 GB, free: 13.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.445, allocations: 41.3 kB / 0.6878 GB, free: 13.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.4454, allocations: 439.5 kB / 0.6882 GB, free: 13.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.4458, allocations: 323.5 kB / 0.6885 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/0.4462, allocations: 193.9 kB / 0.6887 GB, free: 12.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4464, allocations: 347.2 kB / 0.689 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.448, allocations: 0.6762 MB / 0.6897 GB, free: 12.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.4497, allocations: 0.8019 MB / 0.6904 GB, free: 11.63 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.003577/0.4533, allocations: 1.487 MB / 0.6919 GB, free: 10.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4533, allocations: 1.219 kB / 0.6919 GB, free: 10.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01462/0.4679, allocations: 4.172 MB / 0.696 GB, free: 8.758 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.468, allocations: 6.469 kB / 0.696 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.468, allocations: 3.031 kB / 0.696 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007216/0.4752, allocations: 1.866 MB / 0.6978 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/0.4762, allocations: 172.5 kB / 0.698 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02425/0.5004, allocations: 9.263 MB / 0.707 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.5019, allocations: 159.2 kB / 0.7072 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.502, allocations: 40 kB / 0.7072 GB, free: 0.6719 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.0004814/0.5025, allocations: 230.6 kB / 0.7074 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.5027, allocations: 111.3 kB / 0.7075 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.5162, allocations: 3.844 MB / 0.7113 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.5162, allocations: 8 kB / 0.7113 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5162, allocations: 0 / 0.7113 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.5162, allocations: 4.828 kB / 0.7113 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.5312, allocations: 4.723 MB / 0.7159 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.5312, allocations: 0 / 0.7159 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.5319, allocations: 103.8 kB / 0.716 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006217/0.5381, allocations: 1.736 MB / 0.7177 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.5382, allocations: 19.98 kB / 0.7177 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.5579, allocations: 7.77 MB / 0.7253 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5579, allocations: 0 / 0.7253 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.5732, allocations: 4.693 MB / 0.7299 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.5735, allocations: 119.1 kB / 0.73 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.5737, allocations: 12 kB / 0.73 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/0.5746, allocations: 91.89 kB / 0.7301 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006094/0.5752, allocations: 208.6 kB / 0.7303 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.5753, allocations: 20 kB / 0.7303 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007301/0.576, allocations: 0.5421 MB / 0.7309 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.576, allocations: 4 kB / 0.7309 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001162/0.5772, allocations: 423.7 kB / 0.7313 GB, free: 7.805 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.01531/0.5925, allocations: 5.258 MB / 0.7364 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007383/0.5999, allocations: 2.279 MB / 0.7386 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5999, allocations: 0 / 0.7386 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/0.6046, allocations: 1.452 MB / 0.74 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.6053, allocations: 83.28 kB / 0.7401 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/0.6446, allocations: 14.62 MB / 0.7544 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.6451, allocations: 454.5 kB / 0.7548 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004348/0.6456, allocations: 78.58 kB / 0.7549 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/0.6461, allocations: 387.3 kB / 0.7553 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.6461, allocations: 0 / 0.7553 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07649/0.7226, allocations: 33.98 MB / 0.7885 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.95, allocations: 11.98 kB / 0.7885 GB, free: 12.92 MB / 0.5606 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 18.423155632801354] Failed to read output from testmodel.py, exit status != 0: 15.087587252259254 15.110799642 14.714777867 Calling exit ...