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.005602/0.005603, allocations: 171.9 kB / 15.11 MB, free: 5.973 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.535/1.535, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0008619/0.0008618, allocations: 94.8 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0648/0.0648, allocations: 12.2 MB / 330 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4261/0.4261, allocations: 78.51 MB / 459.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004963, allocations: 25.73 kB / 0.528 GB, free: 35.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1207, allocations: 69.24 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.2376, allocations: 99.11 MB / 0.6924 GB, free: 1.02 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.2379, allocations: 79.97 kB / 0.6925 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.298/0.5359, allocations: 23.23 MB / 0.7152 GB, free: 93.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5359, allocations: 1.406 kB / 0.7152 GB, free: 93.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.744e-05/0.536, allocations: 19.75 kB / 0.7152 GB, free: 93.91 MB / 474.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.00499/0.541, allocations: 1.812 MB / 0.717 GB, free: 92.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5411, allocations: 23.56 kB / 0.717 GB, free: 92.7 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002685/0.5413, allocations: 117.7 kB / 0.7171 GB, free: 92.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.5445, allocations: 0.5458 MB / 0.7176 GB, free: 92.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.5458, allocations: 0.6815 MB / 0.7183 GB, free: 91.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.5461, allocations: 257.6 kB / 0.7186 GB, free: 91.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.5462, allocations: 65.66 kB / 0.7186 GB, free: 91.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.5481, allocations: 1.041 MB / 0.7196 GB, free: 90.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5481, allocations: 0 / 0.7196 GB, free: 90.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.5482, allocations: 23.97 kB / 0.7197 GB, free: 90.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.5482, allocations: 15.5 kB / 0.7197 GB, free: 90.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5501, allocations: 1.068 MB / 0.7207 GB, free: 90.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004923/0.555, allocations: 3.278 MB / 0.7239 GB, free: 87.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.5568, allocations: 1.388 MB / 0.7253 GB, free: 85.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.04e-05/0.5569, allocations: 9 kB / 0.7253 GB, free: 85.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.5569, allocations: 43.56 kB / 0.7253 GB, free: 85.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 3.136e-06/0.5569, allocations: 3.984 kB / 0.7253 GB, free: 85.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=84): time 0.02486/0.5818, allocations: 8.107 MB / 0.7332 GB, free: 77.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.5818, allocations: 64.39 kB / 0.7333 GB, free: 77.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009687/0.5828, allocations: 0.6769 MB / 0.734 GB, free: 76.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.583, allocations: 41.7 kB / 0.734 GB, free: 76.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.5832, allocations: 440.4 kB / 0.7344 GB, free: 76.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.5835, allocations: 303.6 kB / 0.7347 GB, free: 75.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.5836, allocations: 16 kB / 0.7347 GB, free: 75.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.5837, allocations: 337.9 kB / 0.735 GB, free: 75.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.5848, allocations: 0.6384 MB / 0.7357 GB, free: 74.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.5861, allocations: 0.7569 MB / 0.7364 GB, free: 74.07 MB / 474.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.001415/0.5875, allocations: 0.7814 MB / 0.7372 GB, free: 73.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5875, allocations: 0 / 0.7372 GB, free: 73.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01281/0.6003, allocations: 4.868 MB / 0.7419 GB, free: 68.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6004, allocations: 8 kB / 0.7419 GB, free: 68.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.6004, allocations: 0 / 0.7419 GB, free: 68.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00637/0.6068, allocations: 2.193 MB / 0.7441 GB, free: 66.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.6074, allocations: 119.9 kB / 0.7442 GB, free: 66.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/0.6269, allocations: 10.25 MB / 0.7542 GB, free: 55.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.6282, allocations: 171.2 kB / 0.7544 GB, free: 55.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.6283, allocations: 28 kB / 0.7544 GB, free: 55.48 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 () * Number of clocked 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.0004733/0.6288, allocations: 217.7 kB / 0.7546 GB, free: 55.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.629, allocations: 98.78 kB / 0.7547 GB, free: 55.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.6409, allocations: 4.774 MB / 0.7594 GB, free: 50.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.641, allocations: 12 kB / 0.7594 GB, free: 50.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.641, allocations: 0 / 0.7594 GB, free: 50.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.641, allocations: 3.984 kB / 0.7594 GB, free: 50.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.6544, allocations: 6.27 MB / 0.7655 GB, free: 43.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.6544, allocations: 0 / 0.7655 GB, free: 43.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005131/0.6549, allocations: 103.8 kB / 0.7656 GB, free: 43.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/0.6603, allocations: 2.061 MB / 0.7676 GB, free: 41.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.09e-05/0.6604, allocations: 19.98 kB / 0.7676 GB, free: 41.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/0.6761, allocations: 8.632 MB / 0.7761 GB, free: 32.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6761, allocations: 4 kB / 0.7761 GB, free: 32.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/0.6895, allocations: 5.7 MB / 0.7816 GB, free: 27.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.69, allocations: 195.6 kB / 0.7818 GB, free: 27.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.6903, allocations: 16.02 kB / 0.7818 GB, free: 27.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.6913, allocations: 135.9 kB / 0.782 GB, free: 26.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005764/0.6919, allocations: 200.6 kB / 0.7822 GB, free: 26.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.692, allocations: 20 kB / 0.7822 GB, free: 26.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006495/0.6927, allocations: 0.5382 MB / 0.7827 GB, free: 26.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6927, allocations: 0 / 0.7827 GB, free: 26.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001277/0.694, allocations: 403.5 kB / 0.7831 GB, free: 25.74 MB / 474.7 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 (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.01347/0.7074, allocations: 6.295 MB / 0.7892 GB, free: 19.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005624/0.7131, allocations: 2.449 MB / 0.7916 GB, free: 16.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7131, allocations: 0.5625 kB / 0.7916 GB, free: 16.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003938/0.7171, allocations: 1.709 MB / 0.7933 GB, free: 15.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.7177, allocations: 71.3 kB / 0.7934 GB, free: 15.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/0.7381, allocations: 11.9 MB / 0.805 GB, free: 2.973 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.7386, allocations: 1.056 MB / 0.806 GB, free: 1.887 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003381/0.7389, allocations: 65.2 kB / 0.8061 GB, free: 1.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/0.7393, allocations: 367.3 kB / 0.8064 GB, free: 1.465 MB / 474.7 MB Notification: Performance of SimCode: time 7.21e-07/0.7393, allocations: 0 / 0.8064 GB, free: 1.465 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04832/0.7877, allocations: 27.76 MB / 0.8335 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.7879, allocations: 197.4 kB / 0.8337 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.462, allocations: 0 / 0.8337 GB, free: 5.59 MB / 0.4948 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)