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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.001161, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008472/0.0008475, allocations: 89.05 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06938/0.06938, allocations: 12.19 MB / 326.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.287/0.287, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.951e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 69.24 MB / 0.5889 GB, free: 2.957 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.5931, allocations: 99.02 MB / 0.6856 GB, free: 1.285 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.5934, allocations: 79.64 kB / 0.6857 GB, free: 1.242 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05938/0.6527, allocations: 23.15 MB / 0.7083 GB, free: 13.69 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6528, allocations: 0 / 0.7083 GB, free: 13.69 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.034e-05/0.6529, allocations: 16 kB / 0.7083 GB, free: 13.68 MB / 458.7 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.004839/0.6577, allocations: 1.617 MB / 0.7099 GB, free: 12.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.6578, allocations: 15.98 kB / 0.7099 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003152/0.6581, allocations: 115.9 kB / 0.71 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.6614, allocations: 0.5451 MB / 0.7106 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.663, allocations: 0.6825 MB / 0.7112 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/0.6633, allocations: 262.9 kB / 0.7115 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.6636, allocations: 69.56 kB / 0.7116 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.6651, allocations: 0.7936 MB / 0.7123 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.6651, allocations: 0 / 0.7123 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.6652, allocations: 26.5 kB / 0.7124 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.6652, allocations: 16 kB / 0.7124 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.6666, allocations: 0.7904 MB / 0.7131 GB, free: 9.602 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006067/0.6727, allocations: 3.267 MB / 0.7163 GB, free: 7.062 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.6742, allocations: 1.16 MB / 0.7175 GB, free: 6.082 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/0.6751, allocations: 0.5554 MB / 0.718 GB, free: 5.781 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.6752, allocations: 12.77 kB / 0.718 GB, free: 5.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.6752, allocations: 45.53 kB / 0.7181 GB, free: 5.723 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 3.156e-06/0.6752, allocations: 0 / 0.7181 GB, free: 5.723 MB / 458.7 MB Notification: Performance of matching and sorting (n=84): time 0.01211/0.6874, allocations: 3.982 MB / 0.7219 GB, free: 2.266 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.6875, allocations: 60.19 kB / 0.722 GB, free: 2.195 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.6888, allocations: 0.6738 MB / 0.7227 GB, free: 1.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.6891, allocations: 40.02 kB / 0.7227 GB, free: 1.625 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.6894, allocations: 443.8 kB / 0.7231 GB, free: 1.379 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.6899, allocations: 298.9 kB / 0.7234 GB, free: 1.121 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.69, allocations: 15.44 kB / 0.7234 GB, free: 1.117 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6902, allocations: 340.5 kB / 0.7238 GB, free: 0.793 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/0.691, allocations: 423.9 kB / 0.7242 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008351/0.6918, allocations: 0.5142 MB / 0.7247 GB, free: 236 kB / 458.7 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.001137/0.693, allocations: 0.5464 MB / 0.7252 GB, free: 15.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.693, allocations: 0 / 0.7252 GB, free: 15.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01264/0.7056, allocations: 4.218 MB / 0.7293 GB, free: 12.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.7057, allocations: 8 kB / 0.7293 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.7057, allocations: 0 / 0.7293 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006226/0.712, allocations: 1.812 MB / 0.7311 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.7127, allocations: 119.2 kB / 0.7312 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/0.7283, allocations: 7.524 MB / 0.7385 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.7297, allocations: 175.2 kB / 0.7387 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.7299, allocations: 24 kB / 0.7387 GB, free: 5.129 MB / 474.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003034/0.7303, allocations: 148.8 kB / 0.7389 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/0.7306, allocations: 102.8 kB / 0.739 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.7425, allocations: 4.113 MB / 0.743 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.7426, allocations: 8 kB / 0.743 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7426, allocations: 0 / 0.743 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/0.7427, allocations: 3.984 kB / 0.743 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/0.7574, allocations: 5.628 MB / 0.7485 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.7574, allocations: 0 / 0.7485 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/0.7581, allocations: 99.83 kB / 0.7486 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005311/0.7634, allocations: 1.683 MB / 0.7502 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/0.7637, allocations: 20 kB / 0.7503 GB, free: 9.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/0.7767, allocations: 6.317 MB / 0.7564 GB, free: 2.707 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7767, allocations: 0 / 0.7564 GB, free: 2.707 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/0.7898, allocations: 4.826 MB / 0.7611 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/0.7904, allocations: 195.5 kB / 0.7613 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.7905, allocations: 15.98 kB / 0.7613 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009923/0.7915, allocations: 127.9 kB / 0.7615 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006464/0.7922, allocations: 204.4 kB / 0.7617 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/0.7923, allocations: 16 kB / 0.7617 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000765/0.793, allocations: 0.5267 MB / 0.7622 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/0.793, allocations: 0 / 0.7622 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001363/0.7944, allocations: 403.5 kB / 0.7626 GB, free: 12.36 MB / 0.4948 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01349/0.8079, allocations: 5.399 MB / 0.7678 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005162/0.8131, allocations: 1.973 MB / 0.7698 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8132, allocations: 0 / 0.7698 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004105/0.8173, allocations: 1.454 MB / 0.7712 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.8181, allocations: 71.28 kB / 0.7713 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.8216, allocations: 1.547 MB / 0.7728 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.8221, allocations: 1.052 MB / 0.7738 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002676/0.8224, allocations: 65.2 kB / 0.7739 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.8229, allocations: 367.3 kB / 0.7742 GB, free: 308 kB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.8229, allocations: 7.938 kB / 0.7742 GB, free: 300 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/0.8735, allocations: 27.65 MB / 0.8012 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.8738, allocations: 172.2 kB / 0.8014 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.538, allocations: 7.625 kB / 0.8014 GB, free: 4.488 MB / 0.5261 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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)