Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.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.009816/0.009816, allocations: 102.2 kB / 15.73 MB, free: 6.055 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.00175/0.00175, allocations: 194.3 kB / 16.68 MB, free: 5.965 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.753/1.753, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001353/0.001353, allocations: 59.91 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 46.61 MB / 373.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002779/0.1202, allocations: 1.496 MB / 374.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.1211, allocations: 0.5382 MB / 375.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.1212, allocations: 8 kB / 375.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1213, allocations: 15.86 kB / 375.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.866e-05/0.1214, allocations: 15.86 kB / 375.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.1216, allocations: 35.91 kB / 375.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1217, allocations: 55.84 kB / 375.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1218, allocations: 15.98 kB / 375.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.122, allocations: 31.89 kB / 375.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.1221, allocations: 31.84 kB / 375.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1221, allocations: 12 kB / 375.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.1222, allocations: 20 kB / 375.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.1222, allocations: 7.938 kB / 375.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.1222, allocations: 35.8 kB / 375.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1224, allocations: 63.78 kB / 375.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1224, allocations: 0 / 375.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1224, allocations: 0 / 375.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1225, allocations: 0 / 375.5 MB, free: 2.195 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.0007261/0.1232, allocations: 391.2 kB / 375.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1232, allocations: 8.031 kB / 375.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1233, allocations: 4.938 kB / 375.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1234, allocations: 180.2 kB / 376.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1235, allocations: 384 / 376.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1235, allocations: 8.375 kB / 376.1 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.1238, allocations: 89.89 kB / 376.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1238, allocations: 0 / 376.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1238, allocations: 4 kB / 376.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.1238, allocations: 4 kB / 376.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.1242, allocations: 79.86 kB / 376.2 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.1246, allocations: 308.6 kB / 376.6 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1249, allocations: 78.56 kB / 376.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.125, allocations: 44.95 kB / 376.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.125, allocations: 0 / 376.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1251, allocations: 30.56 kB / 376.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1251, allocations: 0 / 376.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005864/0.1257, allocations: 149.6 kB / 376.8 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1257, allocations: 51.41 kB / 376.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/0.1258, allocations: 113.8 kB / 377 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1258, allocations: 29.64 kB / 377 MB, free: 468 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.1259, allocations: 100 kB / 377.1 MB, free: 364 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1259, allocations: 11.81 kB / 377.1 MB, free: 352 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.126, allocations: 17.7 kB / 377.2 MB, free: 328 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.3032/0.4292, allocations: 322.8 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.4295, allocations: 29.86 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.4297, allocations: 37.05 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.4301, allocations: 88.12 kB / 377.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4301, allocations: 0.7031 kB / 377.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004485/0.4306, allocations: 115.4 kB / 377.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.4306, allocations: 5.25 kB / 377.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4306, allocations: 2.453 kB / 377.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/0.4307, allocations: 1.594 kB / 377.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.4309, allocations: 18.77 kB / 377.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.4309, allocations: 1.703 kB / 377.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.431, allocations: 16.03 kB / 377.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.431, allocations: 1.281 kB / 377.8 MB, free: 12.92 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.0001228/0.4311, allocations: 122.4 kB / 377.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.4312, allocations: 6.562 kB / 377.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.4317, allocations: 134.8 kB / 378 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4317, allocations: 1.375 kB / 378 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.4317, allocations: 4.875 kB / 378.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.4317, allocations: 1.375 kB / 378.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.432, allocations: 182.1 kB / 378.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.432, allocations: 0 / 378.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.4321, allocations: 27.23 kB / 378.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4321, allocations: 0 / 378.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4322, allocations: 2.812 kB / 378.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4322, allocations: 2.188 kB / 378.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4322, allocations: 8.25 kB / 378.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.4327, allocations: 225.7 kB / 378.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.4327, allocations: 82.52 kB / 378.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4327, allocations: 2.406 kB / 378.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.4329, allocations: 14 kB / 378.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.433, allocations: 12.7 kB / 378.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.433, allocations: 1.719 kB / 378.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.871e-05/0.433, allocations: 91.58 kB / 378.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.433, allocations: 0 / 378.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.4333, allocations: 12.41 kB / 378.7 MB, free: 12.28 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.0001597/0.4335, allocations: 101.3 kB / 378.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004951/0.434, allocations: 91.95 kB / 378.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.434, allocations: 0 / 378.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.4342, allocations: 46.95 kB / 378.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.4347, allocations: 13 kB / 379 MB, free: 12.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.4352, allocations: 156.5 kB / 379.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.4354, allocations: 0.6863 MB / 379.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.4355, allocations: 5.578 kB / 379.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.4355, allocations: 13.44 kB / 379.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4356, allocations: 5.094 kB / 379.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of Templates: time 0.005716/0.4413, allocations: 0.9229 MB / 380.7 MB, free: 11.3 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1)