Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0102/0.0102, allocations: 99.81 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002745/0.002745, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.713/1.713, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 48.92 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1312, allocations: 46.63 MB / 373.1 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003588/0.1348, allocations: 1.493 MB / 374.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.136, allocations: 0.546 MB / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.1361, allocations: 0 / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1363, allocations: 11.88 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.745e-05/0.1364, allocations: 7.938 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1366, allocations: 47.89 kB / 375.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1368, allocations: 55.78 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1369, allocations: 15.98 kB / 375.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1371, allocations: 27.92 kB / 375.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.1371, allocations: 35.83 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1372, allocations: 8 kB / 375.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.1373, allocations: 15.94 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.1373, allocations: 15.98 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.1374, allocations: 27.86 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.1376, allocations: 67.73 kB / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1376, allocations: 0 / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1376, allocations: 0 / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1376, allocations: 0 / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007757/0.1384, allocations: 387.2 kB / 375.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1385, allocations: 12.03 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.1385, allocations: 4.891 kB / 375.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1387, allocations: 180.2 kB / 376.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1387, allocations: 12.38 kB / 376.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1387, allocations: 384 / 376.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.1391, allocations: 85.95 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1391, allocations: 3.938 kB / 376.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1391, allocations: 11.94 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1391, allocations: 0 / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.1394, allocations: 87.89 kB / 376.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.14, allocations: 308.8 kB / 376.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.1402, allocations: 74.56 kB / 376.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.1404, allocations: 48.94 kB / 376.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1405, allocations: 0 / 376.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1405, allocations: 34.56 kB / 376.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1405, allocations: 0 / 376.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006009/0.1411, allocations: 153.5 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.1412, allocations: 55.41 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.1413, allocations: 105.8 kB / 377 MB, free: 13.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1413, allocations: 25.7 kB / 377.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.1414, allocations: 92.09 kB / 377.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.1414, allocations: 23.83 kB / 377.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.1415, allocations: 13.72 kB / 377.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1417, allocations: 322.8 kB / 377.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.1418, allocations: 39.95 kB / 377.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.142, allocations: 36.33 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.1423, allocations: 80.8 kB / 377.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1423, allocations: 0 / 377.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003455/0.1426, allocations: 117.5 kB / 377.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1427, allocations: 7.938 kB / 377.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1427, allocations: 0 / 377.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1427, allocations: 4 kB / 377.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1429, allocations: 15.98 kB / 377.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1429, allocations: 4 kB / 377.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-05/0.143, allocations: 19.97 kB / 377.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.143, allocations: 0 / 377.8 MB, free: 12.41 MB / 318.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 (5): * Single equations (assignments): 5 * 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.0001036/0.1431, allocations: 117.8 kB / 377.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.1431, allocations: 4.391 kB / 377.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.1435, allocations: 133.5 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1436, allocations: 3.984 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1436, allocations: 0 / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1436, allocations: 7.938 kB / 378.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1438, allocations: 189.6 kB / 378.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1438, allocations: 0 / 378.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1439, allocations: 23.97 kB / 378.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.144, allocations: 0 / 378.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.144, allocations: 0 / 378.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.144, allocations: 8 kB / 378.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.144, allocations: 0 / 378.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.1444, allocations: 219.3 kB / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.1445, allocations: 89.03 kB / 378.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1445, allocations: 0 / 378.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1446, allocations: 15.98 kB / 378.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1447, allocations: 7.984 kB / 378.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1447, allocations: 4 kB / 378.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.1448, allocations: 87.28 kB / 378.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1448, allocations: 0 / 378.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.145, allocations: 15.89 kB / 378.7 MB, free: 11.4 MB / 318.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 (7): * Single equations (assignments): 7 * 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.0001767/0.1452, allocations: 103.2 kB / 378.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.1456, allocations: 88.06 kB / 378.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1456, allocations: 3.938 kB / 378.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.1458, allocations: 51.94 kB / 379 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1461, allocations: 12.22 kB / 379 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.1465, allocations: 153.9 kB / 379.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1469, allocations: 0.6885 MB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.877e-05/0.1469, allocations: 4 kB / 379.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.147, allocations: 15.44 kB / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.147, allocations: 0 / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Templates: time 0.00375/0.1508, allocations: 0.9058 MB / 380.7 MB, free: 9.32 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1)