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) 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 3.2.3+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 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07032/0.07032, allocations: 12.2 MB / 27.33 MB, free: 1.441 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009345, allocations: 119.4 kB / 30.84 MB, free: 4.711 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 239.3 MB, free: 11.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 191.7 kB / 289.5 MB, free: 15.9 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4269/0.4269, allocations: 78.52 MB / 418 MB, free: 31.78 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002674, allocations: 135.8 kB / 498.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3323, allocations: 68.03 MB / 0.5531 GB, free: 37.79 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.00522/0.3376, allocations: 6.241 MB / 0.5592 GB, free: 33.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.3406, allocations: 1.784 MB / 0.5609 GB, free: 31.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.3411, allocations: 11.53 kB / 0.5609 GB, free: 31.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.3416, allocations: 157.9 kB / 0.5611 GB, free: 31.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.3428, allocations: 0.6162 MB / 0.5617 GB, free: 31.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.3438, allocations: 0.532 MB / 0.5622 GB, free: 31.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.3447, allocations: 1.225 MB / 0.5634 GB, free: 30.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.345, allocations: 243.3 kB / 0.5636 GB, free: 30.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.3455, allocations: 0.4985 MB / 0.5641 GB, free: 30.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004855/0.346, allocations: 0.6283 MB / 0.5647 GB, free: 29.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3461, allocations: 60.44 kB / 0.5648 GB, free: 29.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.3465, allocations: 190.9 kB / 0.565 GB, free: 29.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3466, allocations: 214.9 kB / 0.5652 GB, free: 29.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.347, allocations: 0.5288 MB / 0.5657 GB, free: 29.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009416/0.3479, allocations: 1.33 MB / 0.567 GB, free: 28.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.348, allocations: 0 / 0.567 GB, free: 28.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.348, allocations: 0 / 0.567 GB, free: 28.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.348, allocations: 0 / 0.567 GB, free: 28.8 MB / 414.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.006912/0.3549, allocations: 2.376 MB / 0.5693 GB, free: 27.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.355, allocations: 20.7 kB / 0.5693 GB, free: 27.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.3551, allocations: 114.5 kB / 0.5694 GB, free: 27.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.3598, allocations: 0.7587 MB / 0.5702 GB, free: 27.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.3608, allocations: 0.7188 MB / 0.5709 GB, free: 26.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.3611, allocations: 256.4 kB / 0.5711 GB, free: 26.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3612, allocations: 68.62 kB / 0.5712 GB, free: 26.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.3633, allocations: 0.9719 MB / 0.5721 GB, free: 26.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3633, allocations: 2.219 kB / 0.5721 GB, free: 26.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/0.3634, allocations: 29.53 kB / 0.5722 GB, free: 26.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.3634, allocations: 16.38 kB / 0.5722 GB, free: 26.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.3655, allocations: 0.9819 MB / 0.5731 GB, free: 26.02 MB / 414.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.005475/0.371, allocations: 3.219 MB / 0.5763 GB, free: 24.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.3729, allocations: 1.322 MB / 0.5776 GB, free: 23.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.3743, allocations: 0.7157 MB / 0.5783 GB, free: 22.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.3744, allocations: 15.45 kB / 0.5783 GB, free: 22.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3745, allocations: 44.22 kB / 0.5783 GB, free: 22.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/0.3745, allocations: 3.938 kB / 0.5783 GB, free: 22.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=84): time 0.02461/0.3991, allocations: 6.376 MB / 0.5846 GB, free: 21.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3992, allocations: 68.31 kB / 0.5846 GB, free: 21.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.4004, allocations: 0.8114 MB / 0.5854 GB, free: 21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.4006, allocations: 44.58 kB / 0.5855 GB, free: 20.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.4009, allocations: 423.1 kB / 0.5859 GB, free: 20.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/0.4013, allocations: 310.4 kB / 0.5862 GB, free: 20.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004768/0.4017, allocations: 188.9 kB / 0.5863 GB, free: 20.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.4018, allocations: 347.6 kB / 0.5867 GB, free: 19.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.4033, allocations: 0.6757 MB / 0.5873 GB, free: 19.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.4049, allocations: 0.8065 MB / 0.5881 GB, free: 19.05 MB / 414.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.003255/0.4081, allocations: 1.568 MB / 0.5896 GB, free: 18.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.4082, allocations: 0.9375 kB / 0.5896 GB, free: 18.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0135/0.4217, allocations: 4.202 MB / 0.5937 GB, free: 16.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.4217, allocations: 5.938 kB / 0.5938 GB, free: 16.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4218, allocations: 2.812 kB / 0.5938 GB, free: 16.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006611/0.4284, allocations: 1.864 MB / 0.5956 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008799/0.4293, allocations: 179.7 kB / 0.5957 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/0.448, allocations: 8.825 MB / 0.6044 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.4496, allocations: 151.1 kB / 0.6045 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.4498, allocations: 35.98 kB / 0.6045 GB, free: 5.559 MB / 414.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.0005846/0.4504, allocations: 225.6 kB / 0.6048 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.4507, allocations: 114.7 kB / 0.6049 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.4617, allocations: 3.877 MB / 0.6087 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.4617, allocations: 8 kB / 0.6087 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4617, allocations: 0 / 0.6087 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.4618, allocations: 3.984 kB / 0.6087 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.476, allocations: 5.362 MB / 0.6139 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.476, allocations: 0 / 0.6139 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.4765, allocations: 99.81 kB / 0.614 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005811/0.4824, allocations: 1.745 MB / 0.6157 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-05/0.4825, allocations: 16 kB / 0.6157 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.4994, allocations: 7.34 MB / 0.6229 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4995, allocations: 0 / 0.6229 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.5132, allocations: 4.719 MB / 0.6275 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.5136, allocations: 183.7 kB / 0.6277 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.5139, allocations: 24.06 kB / 0.6277 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5149, allocations: 95.89 kB / 0.6278 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000584/0.5155, allocations: 188.7 kB / 0.628 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/0.5156, allocations: 24 kB / 0.628 GB, free: 13.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007817/0.5164, allocations: 0.5461 MB / 0.6285 GB, free: 12.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5164, allocations: 0 / 0.6285 GB, free: 12.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001367/0.5178, allocations: 415.6 kB / 0.6289 GB, free: 12.23 MB / 446.1 MB 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.01401/0.5318, allocations: 5.301 MB / 0.6341 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006823/0.5386, allocations: 2.338 MB / 0.6364 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5386, allocations: 4.5 kB / 0.6364 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004675/0.5433, allocations: 1.478 MB / 0.6378 GB, free: 3.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.5445, allocations: 78.44 kB / 0.6379 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/0.5826, allocations: 15.43 MB / 0.653 GB, free: 3.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/0.5833, allocations: 1.037 MB / 0.654 GB, free: 2.152 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003635/0.5837, allocations: 82.3 kB / 0.6541 GB, free: 2.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005146/0.5843, allocations: 379.3 kB / 0.6544 GB, free: 1.699 MB / 462.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5843, allocations: 4 kB / 0.6544 GB, free: 1.695 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8746/1.459, allocations: 29.21 MB / 0.683 GB, free: 4.531 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/1.459, allocations: 220.7 kB / 0.6832 GB, free: 4.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.866, allocations: 0 / 0.6832 GB, free: 4.273 MB / 494.1 MB (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 --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)