Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4045/0.4045, allocations: 39.93 MB / 309.7 MB, free: 9.281 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 63.91 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1455, allocations: 56.89 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004013/0.1496, allocations: 2.072 MB / 436.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1518, allocations: 1.317 MB / 437.9 MB, free: 272 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.1519, allocations: 4 kB / 437.9 MB, free: 268 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.152, allocations: 19.73 kB / 437.9 MB, free: 248 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1522, allocations: 27.66 kB / 437.9 MB, free: 220 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.1528, allocations: 191.3 kB / 438.1 MB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.153, allocations: 180.1 kB / 438.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1533, allocations: 99.58 kB / 438.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1534, allocations: 75.66 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1535, allocations: 87.55 kB / 438.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.1536, allocations: 20 kB / 438.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.1539, allocations: 147.9 kB / 438.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.154, allocations: 47.78 kB / 438.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.1541, allocations: 95.45 kB / 438.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.1545, allocations: 299.3 kB / 439.1 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.1545, allocations: 0 / 439.1 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1546, allocations: 3.938 kB / 439.1 MB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1546, allocations: 0 / 439.1 MB, free: 15 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008338/0.1554, allocations: 0.5184 MB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.1555, allocations: 19.89 kB / 439.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009041/0.1564, allocations: 72.59 kB / 439.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1566, allocations: 180.1 kB / 439.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.1566, allocations: 20.94 kB / 440 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.1567, allocations: 28.12 kB / 440 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.1572, allocations: 204.9 kB / 440.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1572, allocations: 4 kB / 440.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.1573, allocations: 15.88 kB / 440.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1573, allocations: 8 kB / 440.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.1576, allocations: 146.2 kB / 440.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1587, allocations: 0.5966 MB / 440.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.1594, allocations: 243.3 kB / 441.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1595, allocations: 77.3 kB / 441.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.1596, allocations: 240 / 441.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1596, allocations: 38.8 kB / 441.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.062e-06/0.1596, allocations: 0 / 441.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005395/0.1602, allocations: 211.1 kB / 441.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.1602, allocations: 59.41 kB / 441.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1604, allocations: 105.8 kB / 441.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1604, allocations: 29.7 kB / 441.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.1605, allocations: 132.5 kB / 441.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.181e-05/0.1606, allocations: 86.66 kB / 441.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.1607, allocations: 37.72 kB / 441.9 MB, free: 12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1608, allocations: 322.8 kB / 442.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.161, allocations: 51.95 kB / 442.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/0.1611, allocations: 47.97 kB / 442.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.1613, allocations: 110.2 kB / 442.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1613, allocations: 3.938 kB / 442.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002933/0.1616, allocations: 169.5 kB / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1616, allocations: 4 kB / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1616, allocations: 0 / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.1617, allocations: 0 / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.162, allocations: 103.9 kB / 442.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1621, allocations: 0 / 442.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.1621, allocations: 15.84 kB / 442.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1622, allocations: 8 kB / 442.8 MB, free: 11.16 MB / 382.1 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.1623, allocations: 129.7 kB / 442.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.1624, allocations: 15.89 kB / 442.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/0.1624, allocations: 25.12 kB / 442.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1624, allocations: 4 kB / 442.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1625, allocations: 0 / 442.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1625, allocations: 0 / 442.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.1628, allocations: 277.3 kB / 443.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1628, allocations: 0 / 443.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.1632, allocations: 99.89 kB / 443.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.1632, allocations: 11.98 kB / 443.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1633, allocations: 0 / 443.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1633, allocations: 0 / 443.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1633, allocations: 0 / 443.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.1636, allocations: 287.3 kB / 443.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1637, allocations: 92.95 kB / 443.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1637, allocations: 256 / 443.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1638, allocations: 16 kB / 443.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.1639, allocations: 19.97 kB / 443.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.1639, allocations: 4 kB / 443.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.706e-05/0.164, allocations: 83.28 kB / 443.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.164, allocations: 0 / 443.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1642, allocations: 47.78 kB / 443.9 MB, free: 9.973 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001193/0.1644, allocations: 99.19 kB / 444 MB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.1647, allocations: 148 kB / 444.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1647, allocations: 0 / 444.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1648, allocations: 83.84 kB / 444.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.1651, allocations: 15.31 kB / 444.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007696/0.1659, allocations: 471.5 kB / 444.7 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1662, allocations: 0.728 MB / 445.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.1664, allocations: 21.41 kB / 445.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.1664, allocations: 19.44 kB / 445.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1664, allocations: 0 / 445.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of Templates: time 0.004093/0.1705, allocations: 0.9181 MB / 446.3 MB, free: 7.422 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1)