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.009957/0.009957, allocations: 100.8 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.001324/0.001324, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.902/1.902, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001243/0.001243, allocations: 54.66 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 46.62 MB / 373.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003296/0.1258, allocations: 1.493 MB / 374.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1269, allocations: 0.5382 MB / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.127, allocations: 4 kB / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.1271, allocations: 11.92 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.641e-05/0.1272, allocations: 11.86 kB / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.1274, allocations: 39.91 kB / 375.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.984e-05/0.1275, allocations: 55.84 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1276, allocations: 19.98 kB / 375.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1278, allocations: 31.83 kB / 375.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.1279, allocations: 31.92 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1279, allocations: 11.94 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.128, allocations: 15.98 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.128, allocations: 8 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.1281, allocations: 27.86 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1283, allocations: 75.66 kB / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1283, allocations: 0 / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1283, allocations: 0 / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1284, 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.0007723/0.1291, allocations: 379.4 kB / 375.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.273e-05/0.1292, allocations: 11.97 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1293, allocations: 8.844 kB / 375.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1295, allocations: 176.3 kB / 376.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.1296, allocations: 4.375 kB / 376.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1296, allocations: 8.312 kB / 376.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.1301, allocations: 85.95 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1301, allocations: 4 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1301, allocations: 7.938 kB / 376.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1301, allocations: 4 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.1305, allocations: 79.92 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.131, allocations: 308.6 kB / 376.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1312, allocations: 74.53 kB / 376.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.1314, allocations: 44.95 kB / 376.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1314, allocations: 0 / 376.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1315, allocations: 34.59 kB / 376.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.1315, allocations: 4 kB / 376.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007161/0.1322, allocations: 149.6 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1323, allocations: 51.41 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.1324, allocations: 109.8 kB / 377 MB, free: 13.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1324, allocations: 29.7 kB / 377 MB, free: 13.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.1325, allocations: 96.03 kB / 377.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1325, allocations: 15.75 kB / 377.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.1325, allocations: 18.09 kB / 377.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1327, allocations: 322.8 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1328, allocations: 39.95 kB / 377.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.133, allocations: 39.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.1333, allocations: 84.72 kB / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1333, allocations: 0 / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003459/0.1337, allocations: 113.5 kB / 377.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1337, allocations: 5.094 kB / 377.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1337, allocations: 0 / 377.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1337, allocations: 0 / 377.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1339, allocations: 23.97 kB / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1339, allocations: 4 kB / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.134, allocations: 7.984 kB / 377.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.134, allocations: 4 kB / 377.8 MB, free: 12.43 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.0001084/0.1341, allocations: 121.7 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1341, allocations: 4.438 kB / 377.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.1346, allocations: 133.5 kB / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1346, allocations: 0 / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1346, allocations: 0 / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1346, allocations: 0 / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.1348, allocations: 205.4 kB / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1348, allocations: 0 / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1349, allocations: 19.98 kB / 378.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1349, allocations: 3.938 kB / 378.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.135, allocations: 0 / 378.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.135, allocations: 0 / 378.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.135, allocations: 0 / 378.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.1354, allocations: 227.5 kB / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1355, allocations: 88.94 kB / 378.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1355, allocations: 4 kB / 378.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1356, allocations: 7.984 kB / 378.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1357, allocations: 11.98 kB / 378.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1357, allocations: 0 / 378.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.417e-05/0.1358, allocations: 95.27 kB / 378.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1358, allocations: 0 / 378.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.136, allocations: 15.94 kB / 378.7 MB, free: 11.41 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.0002644/0.1363, allocations: 103.2 kB / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.1367, allocations: 88.19 kB / 378.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1367, allocations: 4 kB / 378.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1369, allocations: 47.91 kB / 379 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1372, allocations: 11.92 kB / 379 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.1376, allocations: 165.9 kB / 379.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.1381, allocations: 0.6885 MB / 379.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.092e-05/0.1381, allocations: 7.984 kB / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.1382, allocations: 11.44 kB / 379.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1382, allocations: 0 / 379.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of Templates: time 0.003942/0.1421, allocations: 0.9137 MB / 380.8 MB, free: 9.309 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)