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.001211/0.00121, 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.001638/0.001638, allocations: 192.7 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.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.531 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.00192/0.00192, allocations: 59.91 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3534, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.004193/0.3576, allocations: 1.498 MB / 326.8 MB, free: 0.668 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3589, allocations: 0.5425 MB / 327.3 MB, free: 244 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.359, allocations: 0 / 327.3 MB, free: 244 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.3592, allocations: 12.98 kB / 327.3 MB, free: 236 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3593, allocations: 18.28 kB / 327.4 MB, free: 220 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3595, allocations: 35.91 kB / 327.4 MB, free: 196 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3597, allocations: 60.88 kB / 327.5 MB, free: 156 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.3599, allocations: 16.2 kB / 327.5 MB, free: 148 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.36, allocations: 29.59 kB / 327.5 MB, free: 128 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.3601, allocations: 31.03 kB / 327.5 MB, free: 104 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3602, allocations: 6.25 kB / 327.5 MB, free: 104 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3603, allocations: 16.34 kB / 327.6 MB, free: 100 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.3603, allocations: 14.62 kB / 327.6 MB, free: 88 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.3604, allocations: 32.34 kB / 327.6 MB, free: 60 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3606, allocations: 60.41 kB / 327.7 MB, free: 16 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3606, allocations: 4 kB / 327.7 MB, free: 12 kB / 254.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3606, allocations: 1.406 kB / 327.7 MB, free: 12 kB / 254.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3606, allocations: 0 / 327.7 MB, free: 12 kB / 254.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.0009392/0.3616, allocations: 382.9 kB / 328 MB, free: 15.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.3616, allocations: 9.344 kB / 328.1 MB, free: 15.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.3617, allocations: 4.562 kB / 328.1 MB, free: 15.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3619, allocations: 179.8 kB / 328.2 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.3619, allocations: 1.594 kB / 328.2 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.362, allocations: 11.78 kB / 328.2 MB, free: 15.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.3623, allocations: 86.11 kB / 328.3 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3624, allocations: 3.938 kB / 328.3 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.3624, allocations: 9.141 kB / 328.3 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3624, allocations: 1.375 kB / 328.3 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.3628, allocations: 79.52 kB / 328.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.3634, allocations: 313.2 kB / 328.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.3638, allocations: 75.12 kB / 328.8 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.364, allocations: 42.98 kB / 328.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.364, allocations: 0 / 328.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.3641, allocations: 39.94 kB / 328.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.3641, allocations: 0 / 328.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.000697/0.3648, allocations: 152.7 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.3649, allocations: 52.66 kB / 329.1 MB, free: 14.69 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.365, allocations: 108.2 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3651, allocations: 29.7 kB / 329.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.3652, allocations: 95.47 kB / 329.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.3652, allocations: 10.09 kB / 329.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.3653, allocations: 21.02 kB / 329.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3655, allocations: 320.1 kB / 329.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.3656, allocations: 39.77 kB / 329.7 MB, free: 14.09 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3658, allocations: 36.72 kB / 329.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.3661, allocations: 85.16 kB / 329.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3662, allocations: 0 / 329.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004043/0.3666, allocations: 112.4 kB / 329.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3666, allocations: 5.406 kB / 329.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3666, allocations: 1.062 kB / 329.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.3667, allocations: 0 / 329.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.3668, allocations: 25.44 kB / 330 MB, free: 13.94 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3669, allocations: 0 / 330 MB, free: 13.94 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-05/0.367, allocations: 11.52 kB / 330 MB, free: 13.94 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.367, allocations: 1.094 kB / 330 MB, free: 13.94 MB / 270.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.0001223/0.3671, allocations: 120.9 kB / 330.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3671, allocations: 10.62 kB / 330.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005123/0.3677, allocations: 135.8 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3677, allocations: 1.219 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.3677, allocations: 1.719 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3677, allocations: 3.938 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.368, allocations: 191.4 kB / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.368, allocations: 5.219 kB / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3681, allocations: 18.98 kB / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3682, allocations: 3.938 kB / 330.4 MB, free: 13.47 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3682, allocations: 9.156 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3682, allocations: 1.188 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3682, allocations: 0 / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.3687, allocations: 225.2 kB / 330.7 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.3688, allocations: 79.52 kB / 330.8 MB, free: 13.19 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3688, allocations: 4 kB / 330.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.3689, allocations: 19.62 kB / 330.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.369, allocations: 2.062 kB / 330.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-06/0.369, allocations: 2.094 kB / 330.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.939e-05/0.3691, allocations: 90.58 kB / 330.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3691, allocations: 0 / 330.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.3694, allocations: 13.62 kB / 330.9 MB, free: 13.09 MB / 270.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.0002418/0.3696, allocations: 105 kB / 331 MB, free: 12.99 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.3701, allocations: 89.31 kB / 331.1 MB, free: 12.95 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3701, allocations: 0 / 331.1 MB, free: 12.95 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.3703, allocations: 52.53 kB / 331.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3707, allocations: 11.36 kB / 331.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.3713, allocations: 157.6 kB / 331.3 MB, free: 12.78 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.3716, allocations: 0.6889 MB / 332 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.438e-05/0.3717, allocations: 6.422 kB / 332 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.3718, allocations: 10.28 kB / 332 MB, free: 12.07 MB / 270.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3718, allocations: 1.25 kB / 332 MB, free: 12.07 MB / 270.1 MB Notification: Performance of Templates: time 0.004675/0.3765, allocations: 0.9115 MB / 332.9 MB, free: 11.6 MB / 270.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)