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.00272/0.00272, allocations: 182.1 kB / 16.4 MB, free: 5.754 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.276/2.276, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001238/0.001237, allocations: 92.38 kB / 270.9 MB, free: 8.352 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.5669/0.5669, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000783/0.0007835, allocations: 8 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1483, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002745/0.1511, allocations: 1.361 MB / 491.7 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1529, allocations: 0.5974 MB / 492.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1531, allocations: 11.94 kB / 492.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.1531, allocations: 3.938 kB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.1533, allocations: 23.89 kB / 492.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.1539, allocations: 119.7 kB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.1542, allocations: 83.83 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1543, allocations: 29.09 kB / 492.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.1545, allocations: 63.75 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1547, allocations: 55.75 kB / 492.6 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.466e-05/0.1548, allocations: 7.938 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.494e-05/0.1548, allocations: 8 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.1549, allocations: 23.91 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.1549, allocations: 41.64 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.1551, allocations: 92.03 kB / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1551, allocations: 0 / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1552, allocations: 0 / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1552, allocations: 4 kB / 492.8 MB, free: 8.594 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.001038/0.1562, allocations: 446.8 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.1563, allocations: 11.97 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.735e-05/0.1564, allocations: 46.55 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.1565, allocations: 19.77 kB / 493.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.1569, allocations: 210.9 kB / 493.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.1569, allocations: 8 kB / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.157, allocations: 4 kB / 493.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.1577, allocations: 199.8 kB / 493.7 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1578, allocations: 0 / 493.7 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.1578, allocations: 8 kB / 493.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1578, allocations: 7.953 kB / 493.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008271/0.1587, allocations: 151.9 kB / 493.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.1602, allocations: 480.3 kB / 494.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.1615, allocations: 246.4 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.1615, allocations: 160 / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.1616, allocations: 46.55 kB / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.754e-06/0.1616, allocations: 0 / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.002834/0.1645, allocations: 0.6501 MB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/0.1646, allocations: 110.8 kB / 495.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1648, allocations: 158.4 kB / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.1649, allocations: 33.7 kB / 495.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.165, allocations: 178.4 kB / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.1651, allocations: 35.48 kB / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.1651, allocations: 0 / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1653, allocations: 318.8 kB / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.1658, allocations: 87.94 kB / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.1663, allocations: 110.5 kB / 496.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.1668, allocations: 83.97 kB / 496.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1668, allocations: 0 / 496.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009849/0.1678, allocations: 213.5 kB / 496.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.1679, allocations: 89 kB / 496.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1679, allocations: 0 / 496.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.1679, allocations: 4 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.1683, allocations: 47.91 kB / 496.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.1683, allocations: 3.984 kB / 496.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1686, allocations: 35.98 kB / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.1687, allocations: 7.984 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1687, allocations: 7.953 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004348/0.1692, allocations: 88.23 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1692, allocations: 4 kB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.1692, allocations: 0 / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.1694, allocations: 28.02 kB / 496.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1694, allocations: 7.938 kB / 496.9 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1696, allocations: 15.98 kB / 496.9 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1696, allocations: 0 / 496.9 MB, free: 4.16 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0002351/0.1699, allocations: 205.1 kB / 497.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.1699, allocations: 19.77 kB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.159e-05/0.17, allocations: 13.39 kB / 497.2 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.17, allocations: 4 kB / 497.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1701, allocations: 0 / 497.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1701, allocations: 0 / 497.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.1718, allocations: 0.5543 MB / 497.7 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1719, allocations: 0 / 497.7 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.1722, allocations: 51.94 kB / 497.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.1723, allocations: 0 / 497.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.1723, allocations: 0 / 497.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1723, allocations: 3.938 kB / 497.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.1723, allocations: 7.984 kB / 497.8 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.1739, allocations: 429.7 kB / 498.2 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.1741, allocations: 85.05 kB / 498.3 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.1741, allocations: 8.047 kB / 498.3 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/0.1747, allocations: 55.95 kB / 498.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.1748, allocations: 4 kB / 498.4 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.1748, allocations: 7.984 kB / 498.4 MB, free: 2.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.175, allocations: 123.2 kB / 498.5 MB, free: 2.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.175, allocations: 0 / 498.5 MB, free: 2.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004524/0.1755, allocations: 36 kB / 498.5 MB, free: 2.457 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.002015/0.1775, allocations: 1.037 MB / 499.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1788, allocations: 239.8 kB / 499.8 MB, free: 1.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.1788, allocations: 4 kB / 499.8 MB, free: 1.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004678/0.1793, allocations: 95.88 kB / 499.9 MB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.1798, allocations: 31.97 kB / 499.9 MB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3304/0.5103, allocations: 1.025 MB / 0.4892 GB, free: 43.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.5105, allocations: 0.7127 MB / 0.4899 GB, free: 42.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.5107, allocations: 39.97 kB / 0.49 GB, free: 42.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.435e-06/0.5108, allocations: 0 / 0.49 GB, free: 42.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.689/3.2, allocations: 2.394 MB / 0.4923 GB, free: 42.46 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)