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-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.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-master/package.mo): time 0.08069/0.08069, allocations: 12.6 MB / 28.1 MB, free: 184 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.001088/0.001088, 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.29/1.29, allocations: 205.1 MB / 240.3 MB, free: 12.42 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.001339/0.001339, allocations: 188.5 kB / 290.6 MB, free: 13.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4169/0.4169, allocations: 78.5 MB / 419.2 MB, free: 11.32 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.002762/0.002762, allocations: 143.8 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2664, allocations: 68.11 MB / 0.5547 GB, free: 32.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005815/0.2723, allocations: 5.874 MB / 0.5604 GB, free: 28.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.2755, allocations: 1.732 MB / 0.5621 GB, free: 26.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.2761, allocations: 8.281 kB / 0.5621 GB, free: 26.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.2765, allocations: 214.8 kB / 0.5623 GB, free: 26.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.278, allocations: 0.6836 MB / 0.563 GB, free: 26.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2791, allocations: 0.5794 MB / 0.5636 GB, free: 25.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.2801, allocations: 1.272 MB / 0.5648 GB, free: 25.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.2805, allocations: 278.5 kB / 0.5651 GB, free: 24.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005312/0.281, allocations: 0.5324 MB / 0.5656 GB, free: 24.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.2816, allocations: 0.6634 MB / 0.5662 GB, free: 24.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.2817, allocations: 91.25 kB / 0.5663 GB, free: 24.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.2822, allocations: 228.5 kB / 0.5665 GB, free: 24.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.2823, allocations: 252.9 kB / 0.5668 GB, free: 23.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.2827, allocations: 0.5515 MB / 0.5673 GB, free: 23.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2837, allocations: 1.372 MB / 0.5687 GB, free: 22.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2837, allocations: 0 / 0.5687 GB, free: 22.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2837, allocations: 0 / 0.5687 GB, free: 22.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.2838, allocations: 0 / 0.5687 GB, free: 22.38 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.007258/0.291, allocations: 2.384 MB / 0.571 GB, free: 20.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2911, allocations: 12.58 kB / 0.571 GB, free: 20.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.2912, allocations: 113.9 kB / 0.5711 GB, free: 20.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.296, allocations: 0.7578 MB / 0.5718 GB, free: 20.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/0.297, allocations: 0.7216 MB / 0.5726 GB, free: 19.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.2972, allocations: 252.7 kB / 0.5728 GB, free: 19.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.2973, allocations: 73.78 kB / 0.5729 GB, free: 19.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.2993, allocations: 0.9709 MB / 0.5738 GB, free: 19.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.2993, allocations: 0 / 0.5738 GB, free: 19.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.737e-05/0.2994, allocations: 25.12 kB / 0.5738 GB, free: 19.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.2994, allocations: 17 kB / 0.5739 GB, free: 19.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.3015, allocations: 0.9938 MB / 0.5748 GB, free: 18.58 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.004806/0.3063, allocations: 3.223 MB / 0.578 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.3081, allocations: 1.323 MB / 0.5793 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.3093, allocations: 0.7149 MB / 0.58 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-05/0.3094, allocations: 12.98 kB / 0.58 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.3094, allocations: 39.56 kB / 0.58 GB, free: 13.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=84): time 3.526e-06/0.3094, allocations: 0 / 0.58 GB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=84): time 0.02345/0.3329, allocations: 6.383 MB / 0.5862 GB, free: 6.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.333, allocations: 68.34 kB / 0.5863 GB, free: 6.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/0.3338, allocations: 0.8103 MB / 0.5871 GB, free: 5.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.855e-05/0.3339, allocations: 41.7 kB / 0.5871 GB, free: 5.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.3341, allocations: 424.5 kB / 0.5875 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.3343, allocations: 307.7 kB / 0.5878 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.3347, allocations: 194.8 kB / 0.588 GB, free: 4.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.3347, allocations: 349.9 kB / 0.5884 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.336, allocations: 0.6702 MB / 0.589 GB, free: 3.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.3374, allocations: 0.8072 MB / 0.5898 GB, free: 2.961 MB / 398.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.002818/0.3402, allocations: 1.573 MB / 0.5913 GB, free: 1.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3403, allocations: 0 / 0.5913 GB, free: 1.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01393/0.3542, allocations: 4.196 MB / 0.5954 GB, free: 13.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.3543, allocations: 8 kB / 0.5954 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3543, allocations: 0 / 0.5954 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007196/0.3615, allocations: 1.873 MB / 0.5973 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/0.3624, allocations: 175.7 kB / 0.5974 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/0.3853, allocations: 9.57 MB / 0.6068 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.3869, allocations: 159 kB / 0.6069 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/0.387, allocations: 36 kB / 0.607 GB, free: 1.168 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.0004299/0.3874, allocations: 237 kB / 0.6072 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.3876, allocations: 110.6 kB / 0.6073 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.4008, allocations: 3.876 MB / 0.6111 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.4008, allocations: 8 kB / 0.6111 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4008, allocations: 4 kB / 0.6111 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.4008, allocations: 3.984 kB / 0.6111 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.4159, allocations: 5.364 MB / 0.6163 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.4159, allocations: 0 / 0.6163 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.4165, allocations: 91.89 kB / 0.6164 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006189/0.4227, allocations: 1.749 MB / 0.6181 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.4229, allocations: 16 kB / 0.6182 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/0.4421, allocations: 8.076 MB / 0.626 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4422, allocations: 0 / 0.626 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.4574, allocations: 4.708 MB / 0.6306 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.4578, allocations: 195.7 kB / 0.6308 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.4581, allocations: 23.98 kB / 0.6308 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.4592, allocations: 91.89 kB / 0.6309 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006253/0.4599, allocations: 196.7 kB / 0.6311 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.942e-05/0.4599, allocations: 20 kB / 0.6311 GB, free: 8.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007694/0.4607, allocations: 0.5461 MB / 0.6317 GB, free: 7.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4607, allocations: 0 / 0.6317 GB, free: 7.496 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001395/0.4621, allocations: 415.6 kB / 0.6321 GB, free: 7.09 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.01529/0.4774, allocations: 5.297 MB / 0.6372 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007309/0.4848, allocations: 2.41 MB / 0.6396 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4848, allocations: 0.5625 kB / 0.6396 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004863/0.4897, allocations: 1.522 MB / 0.6411 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.4906, allocations: 79.33 kB / 0.6412 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03967/0.5303, allocations: 15.09 MB / 0.6559 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.5309, allocations: 1.037 MB / 0.6569 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.5313, allocations: 82.3 kB / 0.657 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.5318, allocations: 391.2 kB / 0.6574 GB, free: 12.76 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5318, allocations: 0 / 0.6574 GB, free: 12.76 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06581/0.5977, allocations: 31.68 MB / 0.6883 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.03, allocations: 15.34 kB / 0.6883 GB, free: 13.12 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)