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.0008871/0.000887, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.3 MB / 213.4 MB, free: 1.75 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007923/0.0007924, allocations: 86.7 kB / 261.4 MB, free: 1.699 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05893/0.05893, allocations: 12.2 MB / 321.5 MB, free: 15.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4202/0.4202, allocations: 78.05 MB / 450.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.753e-05, allocations: 2.625 kB / 0.5142 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 69.24 MB / 0.5819 GB, free: 1.297 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.2277, allocations: 98.35 MB / 0.6779 GB, free: 14.81 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.228, allocations: 79.95 kB / 0.678 GB, free: 14.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3483/0.5763, allocations: 22.82 MB / 0.7003 GB, free: 96.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5763, allocations: 4 kB / 0.7003 GB, free: 96.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.689e-05/0.5764, allocations: 16.44 kB / 0.7003 GB, free: 96.38 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.004091/0.5805, allocations: 1.619 MB / 0.7019 GB, free: 95.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5805, allocations: 9.5 kB / 0.7019 GB, free: 95.69 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.5836, allocations: 0.547 MB / 0.7024 GB, free: 95.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.5847, allocations: 0.6784 MB / 0.7031 GB, free: 95.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.585, allocations: 230.6 kB / 0.7033 GB, free: 95.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.5851, allocations: 43.23 kB / 0.7033 GB, free: 95.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001343/0.5865, allocations: 0.7574 MB / 0.7041 GB, free: 95.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.5877, allocations: 0.7026 MB / 0.7048 GB, free: 95.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5878, allocations: 0 / 0.7048 GB, free: 95.06 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.5878, allocations: 0 / 0.7048 GB, free: 95.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.5879, allocations: 16.16 kB / 0.7048 GB, free: 95.06 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.5934, allocations: 3.162 MB / 0.7079 GB, free: 94.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.5947, allocations: 1.128 MB / 0.709 GB, free: 93.58 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006323/0.5953, allocations: 0.5295 MB / 0.7095 GB, free: 93.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.5955, allocations: 11.16 kB / 0.7095 GB, free: 93.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.5955, allocations: 40.84 kB / 0.7095 GB, free: 93.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 2.064e-06/0.5955, allocations: 0 / 0.7095 GB, free: 93.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=84): time 0.01053/0.606, allocations: 3.924 MB / 0.7134 GB, free: 93.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.6061, allocations: 60.03 kB / 0.7134 GB, free: 93.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.6067, allocations: 0.6261 MB / 0.714 GB, free: 93.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.6068, allocations: 25.7 kB / 0.7141 GB, free: 93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.607, allocations: 457.5 kB / 0.7145 GB, free: 92.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.6072, allocations: 280.2 kB / 0.7148 GB, free: 92.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.6073, allocations: 0 / 0.7148 GB, free: 92.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.6073, allocations: 335.2 kB / 0.7151 GB, free: 92.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.6079, allocations: 405.6 kB / 0.7155 GB, free: 91.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.6084, allocations: 0.5023 MB / 0.716 GB, free: 91.63 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.0007482/0.6092, allocations: 0.5311 MB / 0.7165 GB, free: 91.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.6092, allocations: 0 / 0.7165 GB, free: 91.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01087/0.6201, allocations: 4.137 MB / 0.7205 GB, free: 89.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6201, allocations: 4 kB / 0.7205 GB, free: 89.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.6201, allocations: 4 kB / 0.7205 GB, free: 89.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005187/0.6253, allocations: 1.774 MB / 0.7223 GB, free: 88.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.6258, allocations: 125.3 kB / 0.7224 GB, free: 88.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.6382, allocations: 7.306 MB / 0.7295 GB, free: 81.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.6395, allocations: 163.2 kB / 0.7297 GB, free: 81.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.6396, allocations: 24 kB / 0.7297 GB, free: 81.04 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.0002079/0.6398, allocations: 113.2 kB / 0.7298 GB, free: 80.92 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01027/0.6501, allocations: 3.922 MB / 0.7336 GB, free: 76.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.6503, allocations: 98.78 kB / 0.7337 GB, free: 76.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.6607, allocations: 4.027 MB / 0.7377 GB, free: 72.85 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6607, allocations: 8 kB / 0.7377 GB, free: 72.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.6607, allocations: 3.938 kB / 0.7377 GB, free: 72.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6607, allocations: 9.734 kB / 0.7377 GB, free: 72.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.6721, allocations: 5.472 MB / 0.743 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.6722, allocations: 0 / 0.743 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.6727, allocations: 95.89 kB / 0.7431 GB, free: 67.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004519/0.6773, allocations: 1.67 MB / 0.7448 GB, free: 65.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.89e-05/0.6774, allocations: 4 kB / 0.7448 GB, free: 65.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.6883, allocations: 6.206 MB / 0.7508 GB, free: 59.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.6883, allocations: 0 / 0.7508 GB, free: 59.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/0.6996, allocations: 4.744 MB / 0.7554 GB, free: 54.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.7001, allocations: 187.7 kB / 0.7556 GB, free: 54.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/0.7004, allocations: 0 / 0.7556 GB, free: 54.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.7015, allocations: 115.9 kB / 0.7557 GB, free: 54.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004919/0.702, allocations: 200.4 kB / 0.7559 GB, free: 53.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.7021, allocations: 16 kB / 0.7559 GB, free: 53.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006564/0.7028, allocations: 491.1 kB / 0.7564 GB, free: 53.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7028, allocations: 0 / 0.7564 GB, free: 53.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001363/0.7042, allocations: 363.5 kB / 0.7568 GB, free: 53.03 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 () * 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.0118/0.716, allocations: 5.32 MB / 0.762 GB, free: 47.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004693/0.7207, allocations: 1.897 MB / 0.7638 GB, free: 45.76 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7207, allocations: 0 / 0.7638 GB, free: 45.76 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003734/0.7244, allocations: 1.41 MB / 0.7652 GB, free: 44.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.7253, allocations: 59.33 kB / 0.7652 GB, free: 44.28 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.7287, allocations: 1.482 MB / 0.7667 GB, free: 42.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.7292, allocations: 1.056 MB / 0.7677 GB, free: 41.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002997/0.7295, allocations: 56.48 kB / 0.7678 GB, free: 41.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.7299, allocations: 375.3 kB / 0.7681 GB, free: 41.28 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7299, allocations: 0 / 0.7681 GB, free: 41.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04886/0.7788, allocations: 25.79 MB / 0.7933 GB, free: 15.55 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.779, allocations: 125.3 kB / 0.7934 GB, free: 15.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.464, allocations: 4 kB / 0.7934 GB, free: 15.36 MB / 474.7 MB (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)