Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters",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.002214/0.002213, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001107/0.001107, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2854/0.2854, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.599e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5974/0.721, allocations: 87.47 MB / 0.5583 GB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.7213, allocations: 66.39 kB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02238/0.7437, allocations: 4.581 MB / 0.5628 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.7438, allocations: 0 / 0.5628 GB, free: 12.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.7438, allocations: 4 kB / 0.5629 GB, free: 12.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008599/0.7447, allocations: 449.3 kB / 0.5633 GB, free: 11.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.7447, allocations: 8.031 kB / 0.5633 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.65e-05/0.7448, allocations: 38.5 kB / 0.5633 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.7449, allocations: 15.81 kB / 0.5633 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.7453, allocations: 223.5 kB / 0.5636 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.7453, allocations: 7.438 kB / 0.5636 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.7453, allocations: 7.906 kB / 0.5636 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.7457, allocations: 138.7 kB / 0.5637 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.7457, allocations: 0 / 0.5637 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.7458, allocations: 7.438 kB / 0.5637 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.7458, allocations: 0 / 0.5637 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.746, allocations: 59.48 kB / 0.5638 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.7473, allocations: 470.1 kB / 0.5642 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.7481, allocations: 161 kB / 0.5644 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.269e-05/0.7482, allocations: 34.58 kB / 0.5644 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.7482, allocations: 3.984 kB / 0.5644 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.7483, allocations: 37.81 kB / 0.5644 GB, free: 10.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.7483, allocations: 4 kB / 0.5644 GB, free: 10.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003155/0.7486, allocations: 82.91 kB / 0.5645 GB, free: 10.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.7487, allocations: 110.2 kB / 0.5646 GB, free: 10.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.7489, allocations: 148.1 kB / 0.5648 GB, free: 10.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.7489, allocations: 32.89 kB / 0.5648 GB, free: 10.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.749, allocations: 164.8 kB / 0.565 GB, free: 9.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.7491, allocations: 27.38 kB / 0.565 GB, free: 9.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.7491, allocations: 3.188 kB / 0.565 GB, free: 9.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7493, allocations: 318.8 kB / 0.5653 GB, free: 9.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.7494, allocations: 22.88 kB / 0.5653 GB, free: 9.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.7495, allocations: 47.84 kB / 0.5654 GB, free: 9.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.7496, allocations: 18.36 kB / 0.5654 GB, free: 9.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7496, allocations: 4 kB / 0.5654 GB, free: 9.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002432/0.7499, allocations: 85.7 kB / 0.5655 GB, free: 9.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.7499, allocations: 96.97 kB / 0.5656 GB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7499, allocations: 4 kB / 0.5656 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.75, allocations: 0 / 0.5656 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.7503, allocations: 47.89 kB / 0.5656 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.7503, allocations: 4 kB / 0.5656 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.7506, allocations: 47.12 kB / 0.5657 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.7507, allocations: 0 / 0.5657 GB, free: 9.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.7507, allocations: 4 kB / 0.5657 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001453/0.7508, allocations: 45.86 kB / 0.5657 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.7509, allocations: 0 / 0.5657 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-06/0.7509, allocations: 0 / 0.5657 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.751, allocations: 31.88 kB / 0.5657 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.7511, allocations: 400 / 0.5657 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.7512, allocations: 19.92 kB / 0.5657 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.7512, allocations: 0 / 0.5657 GB, free: 9.152 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.7513, allocations: 108.6 kB / 0.5659 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.7514, allocations: 11.91 kB / 0.5659 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.336e-05/0.7515, allocations: 15.91 kB / 0.5659 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7515, allocations: 4 kB / 0.5659 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7515, allocations: 3.953 kB / 0.5659 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7515, allocations: 3.984 kB / 0.5659 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.7519, allocations: 230.7 kB / 0.5661 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7519, allocations: 0 / 0.5661 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.7522, allocations: 35.97 kB / 0.5661 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7522, allocations: 4 kB / 0.5661 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.7523, allocations: 4 kB / 0.5662 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7523, allocations: 0 / 0.5662 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7523, allocations: 0 / 0.5662 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.7527, allocations: 230.1 kB / 0.5664 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.7528, allocations: 88.95 kB / 0.5665 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.7528, allocations: 0 / 0.5665 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/0.7534, allocations: 55.77 kB / 0.5665 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.7534, allocations: 7.984 kB / 0.5665 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.7535, allocations: 3.984 kB / 0.5665 GB, free: 8.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.7536, allocations: 130.8 kB / 0.5666 GB, free: 8.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7536, allocations: 0 / 0.5666 GB, free: 8.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004242/0.7541, allocations: 39.88 kB / 0.5667 GB, free: 8.191 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007842/0.7549, allocations: 0.756 MB / 0.5674 GB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.7552, allocations: 84.69 kB / 0.5675 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7552, allocations: 4.062 kB / 0.5675 GB, free: 7.383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.7553, allocations: 30.98 kB / 0.5675 GB, free: 7.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.7557, allocations: 34.77 kB / 0.5676 GB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.7565, allocations: 244.3 kB / 0.5678 GB, free: 7.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.7569, allocations: 0.7126 MB / 0.5685 GB, free: 6.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.757, allocations: 36.92 kB / 0.5685 GB, free: 6.316 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.757, allocations: 0 / 0.5685 GB, free: 6.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.465/3.222, allocations: 2.326 MB / 0.5708 GB, free: 4.02 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe 2>&1)