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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 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.335/1.335, allocations: 222.9 MB / 239.3 MB, free: 4.613 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.001474/0.001474, allocations: 192.5 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.456/0.456, allocations: 78.53 MB / 418.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 75.88 kB / 497.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.123, allocations: 68.18 MB / 0.5525 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.2098/0.3328, allocations: 5.834 MB / 0.5582 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.336, allocations: 1.753 MB / 0.5599 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.3366, allocations: 9.844 kB / 0.5599 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.3371, allocations: 207.5 kB / 0.5601 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.3386, allocations: 0.6897 MB / 0.5608 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3398, allocations: 0.5701 MB / 0.5613 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.341, allocations: 1.277 MB / 0.5626 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.3414, allocations: 270.5 kB / 0.5628 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.342, allocations: 0.5342 MB / 0.5633 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.3425, allocations: 0.6633 MB / 0.564 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.3427, allocations: 90.97 kB / 0.5641 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.3431, allocations: 234.2 kB / 0.5643 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3433, allocations: 243.9 kB / 0.5645 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.3437, allocations: 0.5547 MB / 0.5651 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3447, allocations: 1.378 MB / 0.5664 GB, free: 34.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3447, allocations: 0 / 0.5664 GB, free: 34.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.3447, allocations: 0 / 0.5664 GB, free: 34.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.3447, allocations: 7.875 kB / 0.5664 GB, free: 34.57 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.007276/0.352, allocations: 2.375 MB / 0.5687 GB, free: 33.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3521, allocations: 13.31 kB / 0.5688 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.3522, allocations: 116.4 kB / 0.5689 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/0.357, allocations: 0.76 MB / 0.5696 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009541/0.3579, allocations: 0.7145 MB / 0.5703 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.3582, allocations: 253.5 kB / 0.5706 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3583, allocations: 67.06 kB / 0.5706 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.3602, allocations: 0.9727 MB / 0.5716 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3602, allocations: 0 / 0.5716 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-05/0.3603, allocations: 28.75 kB / 0.5716 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.3603, allocations: 16.78 kB / 0.5716 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.3624, allocations: 0.9923 MB / 0.5726 GB, free: 33 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.004891/0.3673, allocations: 3.221 MB / 0.5757 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.3692, allocations: 1.33 MB / 0.577 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.3705, allocations: 0.7082 MB / 0.5777 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.892e-05/0.3706, allocations: 12.69 kB / 0.5777 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3706, allocations: 42.56 kB / 0.5778 GB, free: 31.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 4.218e-06/0.3706, allocations: 3.984 kB / 0.5778 GB, free: 31.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.0249/0.3955, allocations: 6.376 MB / 0.584 GB, free: 29.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3956, allocations: 63.94 kB / 0.5841 GB, free: 29.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3968, allocations: 0.8074 MB / 0.5848 GB, free: 29.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.397, allocations: 43.27 kB / 0.5849 GB, free: 29.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.3972, allocations: 430.7 kB / 0.5853 GB, free: 29.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.3975, allocations: 304.4 kB / 0.5856 GB, free: 28.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.3979, allocations: 192.4 kB / 0.5858 GB, free: 28.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.3979, allocations: 348.3 kB / 0.5861 GB, free: 28.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.3995, allocations: 0.6753 MB / 0.5868 GB, free: 28.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4011, allocations: 0.8066 MB / 0.5876 GB, free: 27.79 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.003318/0.4044, allocations: 1.567 MB / 0.5891 GB, free: 27.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4045, allocations: 0 / 0.5891 GB, free: 27.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01533/0.4198, allocations: 4.2 MB / 0.5932 GB, free: 26.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.4199, allocations: 6.156 kB / 0.5932 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.4199, allocations: 3.297 kB / 0.5932 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007464/0.4274, allocations: 1.878 MB / 0.595 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/0.4283, allocations: 175.2 kB / 0.5952 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/0.4514, allocations: 9.576 MB / 0.6045 GB, free: 21.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4528, allocations: 156 kB / 0.6047 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.4529, allocations: 38.92 kB / 0.6047 GB, free: 21.06 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.0003815/0.4533, allocations: 221.2 kB / 0.6049 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.4535, allocations: 112.9 kB / 0.6051 GB, free: 20.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.4669, allocations: 3.882 MB / 0.6088 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.467, allocations: 8.969 kB / 0.6089 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.467, allocations: 3.984 kB / 0.6089 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.467, allocations: 4.828 kB / 0.6089 GB, free: 19.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.4812, allocations: 5.36 MB / 0.6141 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4812, allocations: 0 / 0.6141 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/0.4818, allocations: 87.89 kB / 0.6142 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005734/0.4876, allocations: 1.75 MB / 0.6159 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.4877, allocations: 19.98 kB / 0.6159 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01719/0.5049, allocations: 8.073 MB / 0.6238 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5049, allocations: 0 / 0.6238 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.5189, allocations: 4.716 MB / 0.6284 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.5192, allocations: 188.6 kB / 0.6286 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.5194, allocations: 21.03 kB / 0.6286 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/0.5203, allocations: 87.89 kB / 0.6287 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005435/0.5209, allocations: 200.7 kB / 0.6289 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.521, allocations: 16 kB / 0.6289 GB, free: 240 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006483/0.5216, allocations: 0.55 MB / 0.6294 GB, free: 15.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5216, allocations: 0 / 0.6294 GB, free: 15.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001201/0.5228, allocations: 423.2 kB / 0.6298 GB, free: 15.26 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.01597/0.5388, allocations: 5.284 MB / 0.635 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007759/0.5466, allocations: 2.417 MB / 0.6373 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5466, allocations: 0.5625 kB / 0.6373 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005042/0.5517, allocations: 1.518 MB / 0.6388 GB, free: 5.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.5524, allocations: 81.97 kB / 0.6389 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04042/0.5929, allocations: 15.09 MB / 0.6536 GB, free: 6.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.5935, allocations: 1.037 MB / 0.6547 GB, free: 5.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000366/0.5939, allocations: 77.36 kB / 0.6547 GB, free: 5.379 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.5944, allocations: 392.8 kB / 0.6551 GB, free: 4.996 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5944, allocations: 0 / 0.6551 GB, free: 4.996 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09445/0.6888, allocations: 31.66 MB / 0.686 GB, free: 5.645 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.1, allocations: 8.688 kB / 0.686 GB, free: 5.641 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 & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)