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.002165/0.002165, allocations: 181.7 kB / 16.4 MB, free: 5.723 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.07/2.07, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001781/0.001781, allocations: 94.91 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5755/0.5755, allocations: 43.55 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004774, allocations: 16 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 58.83 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6298, allocations: 87.58 MB / 0.5643 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.6301, allocations: 63.97 kB / 0.5644 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0228/0.653, allocations: 4.599 MB / 0.5689 GB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.653, allocations: 0 / 0.5689 GB, free: 10.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.6531, allocations: 4 kB / 0.5689 GB, free: 10.48 MB / 394.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.0009997/0.6541, allocations: 470.5 kB / 0.5693 GB, free: 9.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.6541, allocations: 12.03 kB / 0.5693 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.374e-05/0.6542, allocations: 34.56 kB / 0.5694 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.6543, allocations: 19.25 kB / 0.5694 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.6547, allocations: 225.8 kB / 0.5696 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.6548, allocations: 8 kB / 0.5696 GB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.6548, allocations: 15.94 kB / 0.5696 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.6556, allocations: 198.5 kB / 0.5698 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.6556, allocations: 0 / 0.5698 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.6557, allocations: 4 kB / 0.5698 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.6557, allocations: 5.031 kB / 0.5698 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/0.6565, allocations: 159.9 kB / 0.57 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.6579, allocations: 460.4 kB / 0.5704 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.6596, allocations: 326.4 kB / 0.5707 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.6597, allocations: 0 / 0.5707 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.6597, allocations: 42.5 kB / 0.5708 GB, free: 8.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6597, allocations: 0 / 0.5708 GB, free: 8.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001454/0.6612, allocations: 281.5 kB / 0.571 GB, free: 8.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.6613, allocations: 106.8 kB / 0.5711 GB, free: 7.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.6615, allocations: 151.5 kB / 0.5713 GB, free: 7.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.6616, allocations: 30.73 kB / 0.5713 GB, free: 7.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.6617, allocations: 174.7 kB / 0.5715 GB, free: 7.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.6618, allocations: 23.55 kB / 0.5715 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.6618, allocations: 8 kB / 0.5715 GB, free: 7.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.662, allocations: 314.8 kB / 0.5718 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.6624, allocations: 81.31 kB / 0.5719 GB, free: 7.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.6629, allocations: 114.5 kB / 0.572 GB, free: 7.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.6634, allocations: 78.41 kB / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6634, allocations: 0 / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009634/0.6644, allocations: 205.5 kB / 0.5723 GB, free: 6.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-05/0.6645, allocations: 96.94 kB / 0.5724 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6645, allocations: 3 kB / 0.5724 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6645, allocations: 0 / 0.5724 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.6648, allocations: 47.95 kB / 0.5724 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.6649, allocations: 0 / 0.5724 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.6652, allocations: 31.97 kB / 0.5724 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.6652, allocations: 4 kB / 0.5724 GB, free: 6.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.6652, allocations: 4 kB / 0.5724 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003904/0.6656, allocations: 87.94 kB / 0.5725 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.6656, allocations: 0 / 0.5725 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.6656, allocations: 0 / 0.5725 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.6658, allocations: 27.92 kB / 0.5726 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.6658, allocations: 3.953 kB / 0.5726 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.666, allocations: 23.89 kB / 0.5726 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.666, allocations: 0 / 0.5726 GB, free: 6.445 MB / 394.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 () * Number of clocked 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.0002147/0.6662, allocations: 197.1 kB / 0.5728 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.6663, allocations: 7.906 kB / 0.5728 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.89e-05/0.6664, allocations: 21.39 kB / 0.5728 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6664, allocations: 4 kB / 0.5728 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.6664, allocations: 7.953 kB / 0.5728 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6664, allocations: 0 / 0.5728 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.6668, allocations: 233.3 kB / 0.573 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.6668, allocations: 4 kB / 0.573 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.6672, allocations: 35.97 kB / 0.5731 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.6672, allocations: 7.984 kB / 0.5731 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.6672, allocations: 0 / 0.5731 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.6672, allocations: 4.875 kB / 0.5731 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6672, allocations: 0 / 0.5731 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.6688, allocations: 396.2 kB / 0.5735 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.6689, allocations: 85.05 kB / 0.5735 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.6689, allocations: 0 / 0.5735 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.6695, allocations: 56.02 kB / 0.5736 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.6695, allocations: 7.984 kB / 0.5736 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.6696, allocations: 9.109 kB / 0.5736 GB, free: 5.301 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.6697, allocations: 123.7 kB / 0.5737 GB, free: 5.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6698, allocations: 0 / 0.5737 GB, free: 5.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004603/0.6702, allocations: 43.84 kB / 0.5738 GB, free: 5.137 MB / 394.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 () * Number of clocked 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.00192/0.6722, allocations: 0.9315 MB / 0.5747 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.6734, allocations: 220.1 kB / 0.5749 GB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.6734, allocations: 0 / 0.5749 GB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.6739, allocations: 95.92 kB / 0.575 GB, free: 3.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.6744, allocations: 30.17 kB / 0.575 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.6776, allocations: 1.008 MB / 0.576 GB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.6781, allocations: 0.7126 MB / 0.5767 GB, free: 2.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.6782, allocations: 43.36 kB / 0.5767 GB, free: 2.012 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6782, allocations: 0 / 0.5767 GB, free: 2.012 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.723/3.401, allocations: 2.331 MB / 0.579 GB, free: 15.7 MB / 410.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)