Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09533/0.09533, allocations: 12.6 MB / 28.1 MB, free: 196 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.271/1.271, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001371/0.001371, allocations: 196.4 kB / 290.6 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4164/0.4164, allocations: 78.51 MB / 419.2 MB, free: 11.36 MB / 302.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.002668/0.002668, allocations: 147.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2726, allocations: 68.11 MB / 0.5547 GB, free: 32.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005607/0.2783, allocations: 5.993 MB / 0.5605 GB, free: 28.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.2815, allocations: 1.771 MB / 0.5623 GB, free: 26.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005469/0.282, allocations: 8.25 kB / 0.5623 GB, free: 26.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.2825, allocations: 211.6 kB / 0.5625 GB, free: 26.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.2841, allocations: 0.6982 MB / 0.5631 GB, free: 26.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.2853, allocations: 0.5903 MB / 0.5637 GB, free: 25.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.2871, allocations: 1.333 MB / 0.565 GB, free: 24.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/0.2876, allocations: 281.1 kB / 0.5653 GB, free: 24.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007503/0.2884, allocations: 0.5558 MB / 0.5658 GB, free: 24.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007617/0.2892, allocations: 0.6907 MB / 0.5665 GB, free: 23.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.2893, allocations: 97.34 kB / 0.5666 GB, free: 23.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.2899, allocations: 239.3 kB / 0.5668 GB, free: 23.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.2901, allocations: 264 kB / 0.5671 GB, free: 23.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.2906, allocations: 0.5702 MB / 0.5676 GB, free: 23.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.2919, allocations: 1.418 MB / 0.569 GB, free: 22.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2919, allocations: 1.375 kB / 0.569 GB, free: 22.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2919, allocations: 0 / 0.569 GB, free: 22.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.2919, allocations: 0 / 0.569 GB, free: 22.11 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007706/0.2996, allocations: 2.446 MB / 0.5714 GB, free: 20.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2997, allocations: 12.73 kB / 0.5714 GB, free: 20.6 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.2998, allocations: 119.3 kB / 0.5715 GB, free: 20.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/0.3046, allocations: 0.7602 MB / 0.5723 GB, free: 20.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3056, allocations: 0.7445 MB / 0.573 GB, free: 19.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.3059, allocations: 251.2 kB / 0.5733 GB, free: 19.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.306, allocations: 73.97 kB / 0.5733 GB, free: 19.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.3079, allocations: 0.9787 MB / 0.5743 GB, free: 18.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3079, allocations: 5.406 kB / 0.5743 GB, free: 18.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.308, allocations: 25.47 kB / 0.5743 GB, free: 18.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.308, allocations: 19.44 kB / 0.5743 GB, free: 18.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.31, allocations: 0.9977 MB / 0.5753 GB, free: 18.25 MB / 398.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.004324/0.3143, allocations: 3.277 MB / 0.5785 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.3161, allocations: 1.35 MB / 0.5798 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.3173, allocations: 0.7149 MB / 0.5805 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.314e-05/0.3174, allocations: 20.97 kB / 0.5805 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.3175, allocations: 47.5 kB / 0.5806 GB, free: 12.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=85): time 2.695e-06/0.3175, allocations: 0 / 0.5806 GB, free: 12.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=85): time 0.02399/0.3415, allocations: 6.555 MB / 0.587 GB, free: 5.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3415, allocations: 64.34 kB / 0.587 GB, free: 5.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.3427, allocations: 0.8468 MB / 0.5879 GB, free: 5.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.3429, allocations: 45.64 kB / 0.5879 GB, free: 4.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.3432, allocations: 436.5 kB / 0.5883 GB, free: 4.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.3436, allocations: 311.5 kB / 0.5886 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.344, allocations: 206.8 kB / 0.5888 GB, free: 4.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.3441, allocations: 345.9 kB / 0.5892 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.3455, allocations: 0.6936 MB / 0.5898 GB, free: 2.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.347, allocations: 0.8189 MB / 0.5906 GB, free: 2.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.3497, allocations: 1.494 MB / 0.5921 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.3498, allocations: 0 / 0.5921 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01541/0.3652, allocations: 4.273 MB / 0.5963 GB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.3653, allocations: 8 kB / 0.5963 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3653, allocations: 0 / 0.5963 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007756/0.3731, allocations: 1.846 MB / 0.5981 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.3743, allocations: 187.7 kB / 0.5983 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.025/0.3993, allocations: 9.485 MB / 0.6075 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.4013, allocations: 163 kB / 0.6077 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/0.4015, allocations: 35.98 kB / 0.6077 GB, free: 468 kB / 414.1 MB 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 (106): * Single equations (assignments): 105 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005955/0.4021, allocations: 233.5 kB / 0.6079 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.4025, allocations: 106.6 kB / 0.608 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.4162, allocations: 3.88 MB / 0.6118 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.683e-05/0.4163, allocations: 12 kB / 0.6118 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4163, allocations: 4 kB / 0.6118 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.128e-05/0.4163, allocations: 7.969 kB / 0.6118 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.4332, allocations: 5.427 MB / 0.6171 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.4333, allocations: 4 kB / 0.6171 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.4339, allocations: 99.81 kB / 0.6172 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006293/0.4402, allocations: 1.753 MB / 0.619 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.4405, allocations: 16 kB / 0.619 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01959/0.4601, allocations: 8.064 MB / 0.6268 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.4601, allocations: 0 / 0.6268 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.4754, allocations: 4.766 MB / 0.6315 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.4759, allocations: 199.6 kB / 0.6317 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.4762, allocations: 8 kB / 0.6317 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.4776, allocations: 95.89 kB / 0.6318 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006957/0.4783, allocations: 204.7 kB / 0.632 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.982e-05/0.4784, allocations: 16 kB / 0.632 GB, free: 7.215 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009497/0.4794, allocations: 0.5741 MB / 0.6326 GB, free: 6.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4794, allocations: 4 kB / 0.6326 GB, free: 6.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001672/0.4811, allocations: 427.6 kB / 0.633 GB, free: 6.207 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.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 (52): * Single equations (assignments): 51 * 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.01588/0.497, allocations: 5.342 MB / 0.6382 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007666/0.5047, allocations: 2.434 MB / 0.6406 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5047, allocations: 0 / 0.6406 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005045/0.5098, allocations: 1.535 MB / 0.6421 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.5109, allocations: 79.33 kB / 0.6421 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0408/0.5517, allocations: 15.4 MB / 0.6572 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.5525, allocations: 1.056 MB / 0.6582 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004153/0.5529, allocations: 82.44 kB / 0.6583 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006213/0.5535, allocations: 387.3 kB / 0.6587 GB, free: 11.44 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5535, allocations: 0 / 0.6587 GB, free: 11.44 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06166/0.6152, allocations: 32.14 MB / 0.69 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.1, allocations: 21.56 kB / 0.6901 GB, free: 11.34 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2_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_Order6test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)