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.001263/0.001263, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 239.3 MB, free: 4.637 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.001766/0.001766, allocations: 192.5 kB / 289.6 MB, free: 2.367 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5404/0.5404, allocations: 78.52 MB / 418.2 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 79.88 kB / 497.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1623, allocations: 68.19 MB / 0.5525 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.3078/0.4701, allocations: 5.825 MB / 0.5582 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.4739, allocations: 1.758 MB / 0.5599 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.4746, allocations: 8.969 kB / 0.5599 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005312/0.4751, allocations: 208.7 kB / 0.5601 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.4768, allocations: 0.688 MB / 0.5608 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.4782, allocations: 0.565 MB / 0.5613 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.4796, allocations: 1.274 MB / 0.5626 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004924/0.4801, allocations: 275.5 kB / 0.5628 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.4808, allocations: 0.5326 MB / 0.5633 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006587/0.4815, allocations: 0.6649 MB / 0.564 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.4816, allocations: 90.97 kB / 0.5641 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.4821, allocations: 232.7 kB / 0.5643 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.4823, allocations: 246.6 kB / 0.5645 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.4826, allocations: 0.553 MB / 0.5651 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4838, allocations: 1.377 MB / 0.5664 GB, free: 34.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4838, allocations: 0 / 0.5664 GB, free: 34.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4838, allocations: 0 / 0.5664 GB, free: 34.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.4839, allocations: 5.969 kB / 0.5664 GB, free: 34.55 MB / 430.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.007267/0.4911, allocations: 2.374 MB / 0.5687 GB, free: 33.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4912, allocations: 8.75 kB / 0.5688 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.4913, allocations: 119.6 kB / 0.5689 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004917/0.4963, allocations: 0.7593 MB / 0.5696 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.4975, allocations: 0.7253 MB / 0.5703 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.4978, allocations: 249.3 kB / 0.5706 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.498, allocations: 67.97 kB / 0.5706 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.4999, allocations: 0.9749 MB / 0.5716 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.4999, allocations: 0 / 0.5716 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.5, allocations: 25 kB / 0.5716 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.5, allocations: 18.19 kB / 0.5716 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.5019, allocations: 0.9852 MB / 0.5726 GB, free: 32.98 MB / 430.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.004943/0.5068, allocations: 3.225 MB / 0.5757 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.5087, allocations: 1.327 MB / 0.577 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.51, allocations: 0.7136 MB / 0.5777 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.952e-05/0.5101, allocations: 12.33 kB / 0.5777 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.5101, allocations: 45.97 kB / 0.5778 GB, free: 31.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.545e-06/0.5101, allocations: 0 / 0.5778 GB, free: 31.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02509/0.5352, allocations: 6.376 MB / 0.584 GB, free: 29.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.5353, allocations: 64.12 kB / 0.5841 GB, free: 29.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.5367, allocations: 0.8103 MB / 0.5849 GB, free: 29.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.5369, allocations: 41.3 kB / 0.5849 GB, free: 29.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.5372, allocations: 425.8 kB / 0.5853 GB, free: 29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.5376, allocations: 308.7 kB / 0.5856 GB, free: 28.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/0.5381, allocations: 192.1 kB / 0.5858 GB, free: 28.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5382, allocations: 345 kB / 0.5861 GB, free: 28.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.5398, allocations: 0.6776 MB / 0.5868 GB, free: 28.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.5415, allocations: 0.8038 MB / 0.5876 GB, free: 27.74 MB / 430.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.003837/0.5453, allocations: 1.569 MB / 0.5891 GB, free: 26.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.5453, allocations: 1.062 kB / 0.5891 GB, free: 26.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01659/0.5619, allocations: 4.199 MB / 0.5932 GB, free: 25.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.562, allocations: 6.875 kB / 0.5932 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.5621, allocations: 4.25 kB / 0.5932 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008046/0.5701, allocations: 1.88 MB / 0.595 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.5712, allocations: 179.6 kB / 0.5952 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/0.5965, allocations: 9.562 MB / 0.6045 GB, free: 21.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.5982, allocations: 160.1 kB / 0.6047 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.5983, allocations: 41.39 kB / 0.6047 GB, free: 21 MB / 430.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.0004419/0.5988, allocations: 219.6 kB / 0.6049 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.599, allocations: 112.8 kB / 0.6051 GB, free: 20.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.6129, allocations: 3.881 MB / 0.6088 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.6129, allocations: 9.531 kB / 0.6088 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6129, allocations: 0 / 0.6088 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/0.613, allocations: 3.984 kB / 0.6089 GB, free: 19.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.6276, allocations: 5.367 MB / 0.6141 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.6276, allocations: 0 / 0.6141 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/0.6282, allocations: 91.89 kB / 0.6142 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005567/0.6338, allocations: 1.749 MB / 0.6159 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.634, allocations: 12 kB / 0.6159 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.6516, allocations: 8.075 MB / 0.6238 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/0.6516, allocations: 5.375 kB / 0.6238 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/0.6654, allocations: 4.708 MB / 0.6284 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/0.6659, allocations: 197.1 kB / 0.6286 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.6661, allocations: 16 kB / 0.6286 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009626/0.667, allocations: 87.89 kB / 0.6287 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006211/0.6677, allocations: 200.7 kB / 0.6289 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/0.6677, allocations: 24 kB / 0.6289 GB, free: 212 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006712/0.6684, allocations: 0.5421 MB / 0.6294 GB, free: 15.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6684, allocations: 0 / 0.6294 GB, free: 15.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001489/0.6699, allocations: 423.6 kB / 0.6298 GB, free: 15.24 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.01622/0.6861, allocations: 5.286 MB / 0.635 GB, free: 9.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008082/0.6943, allocations: 2.414 MB / 0.6373 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6943, allocations: 64 / 0.6373 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005034/0.6994, allocations: 1.525 MB / 0.6388 GB, free: 5.961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009809/0.7004, allocations: 76.19 kB / 0.6389 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04207/0.7425, allocations: 15.1 MB / 0.6536 GB, free: 6.488 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009801/0.7435, allocations: 1.033 MB / 0.6547 GB, free: 5.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005014/0.744, allocations: 80.52 kB / 0.6547 GB, free: 5.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006467/0.7447, allocations: 383.3 kB / 0.6551 GB, free: 4.977 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7447, allocations: 0 / 0.6551 GB, free: 4.977 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08196/0.8267, allocations: 31.67 MB / 0.686 GB, free: 5.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.86, allocations: 4 kB / 0.686 GB, free: 5.598 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)