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.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001755/0.001756, allocations: 189.9 kB / 16.14 MB, free: 6.734 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.711/1.711, allocations: 205.1 MB / 222 MB, free: 5.008 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.001893/0.001894, allocations: 43.92 kB / 278 MB, free: 13.03 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3371, allocations: 46.63 MB / 324.7 MB, free: 1.824 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002936/0.3401, allocations: 1.552 MB / 326.2 MB, free: 0.6016 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.341, allocations: 0.5408 MB / 326.8 MB, free: 176 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.3411, allocations: 1.406 kB / 326.8 MB, free: 176 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.3413, allocations: 13.81 kB / 326.8 MB, free: 168 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.311e-05/0.3414, allocations: 5.344 kB / 326.8 MB, free: 164 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.3416, allocations: 35.47 kB / 326.8 MB, free: 140 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3417, allocations: 49.69 kB / 326.9 MB, free: 112 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3418, allocations: 23.77 kB / 326.9 MB, free: 96 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3419, allocations: 26.11 kB / 326.9 MB, free: 80 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.342, allocations: 26.41 kB / 326.9 MB, free: 60 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3421, allocations: 4.562 kB / 326.9 MB, free: 60 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.3421, allocations: 14.88 kB / 327 MB, free: 56 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.3422, allocations: 21.06 kB / 327 MB, free: 36 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.3422, allocations: 21.11 kB / 327 MB, free: 20 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.3424, allocations: 63.89 kB / 327.1 MB, free: 15.97 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.3425, allocations: 0 / 327.1 MB, free: 15.97 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3425, allocations: 1.375 kB / 327.1 MB, free: 15.97 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3425, allocations: 0 / 327.1 MB, free: 15.97 MB / 270.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.0007157/0.3432, allocations: 387.6 kB / 327.4 MB, free: 15.58 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3433, allocations: 9.406 kB / 327.5 MB, free: 15.58 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.3433, allocations: 4.375 kB / 327.5 MB, free: 15.58 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.3435, allocations: 174.3 kB / 327.6 MB, free: 15.37 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3435, allocations: 6.688 kB / 327.6 MB, free: 15.37 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.3436, allocations: 3.656 kB / 327.6 MB, free: 15.37 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.3439, allocations: 93.8 kB / 327.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3439, allocations: 0 / 327.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3439, allocations: 1.312 kB / 327.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3439, allocations: 5.359 kB / 327.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.3442, allocations: 83.81 kB / 327.8 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.3447, allocations: 311.4 kB / 328.1 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.345, allocations: 75.78 kB / 328.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.3452, allocations: 46.66 kB / 328.2 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3452, allocations: 4 kB / 328.2 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3453, allocations: 34.5 kB / 328.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3453, allocations: 0 / 328.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006044/0.3459, allocations: 149.8 kB / 328.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.346, allocations: 56.59 kB / 328.5 MB, free: 14.65 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3461, allocations: 112.1 kB / 328.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3461, allocations: 26.8 kB / 328.6 MB, free: 14.51 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.3462, allocations: 90.36 kB / 328.7 MB, free: 14.42 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.3463, allocations: 22.09 kB / 328.7 MB, free: 14.4 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.3463, allocations: 13.12 kB / 328.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3465, allocations: 321 kB / 329.1 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.3467, allocations: 43.2 kB / 329.1 MB, free: 14.04 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.3469, allocations: 35.83 kB / 329.1 MB, free: 14.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.3472, allocations: 77.92 kB / 329.2 MB, free: 13.98 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3472, allocations: 0 / 329.2 MB, free: 13.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003777/0.3476, allocations: 120.7 kB / 329.3 MB, free: 13.91 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3476, allocations: 9.531 kB / 329.3 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3477, allocations: 0 / 329.3 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3477, allocations: 1.375 kB / 329.3 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.3478, allocations: 15.8 kB / 329.3 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3479, allocations: 1.219 kB / 329.3 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.331e-05/0.348, allocations: 22.81 kB / 329.4 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.348, allocations: 1.5 kB / 329.4 MB, free: 13.88 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.000114/0.3481, allocations: 117.1 kB / 329.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3481, allocations: 5.469 kB / 329.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.3486, allocations: 129 kB / 329.6 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3486, allocations: 9.422 kB / 329.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3486, allocations: 4.375 kB / 329.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3487, allocations: 1.156 kB / 329.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.3489, allocations: 187.7 kB / 329.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3489, allocations: 4 kB / 329.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.349, allocations: 23.41 kB / 329.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.349, allocations: 0.9688 kB / 329.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3491, allocations: 0 / 329.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3491, allocations: 0.9375 kB / 329.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3491, allocations: 4 kB / 329.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.3496, allocations: 221.9 kB / 330.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.3496, allocations: 82.53 kB / 330.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3496, allocations: 1.406 kB / 330.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3498, allocations: 14.95 kB / 330.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.3498, allocations: 14.36 kB / 330.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3499, allocations: 1.656 kB / 330.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.067e-05/0.3499, allocations: 86.03 kB / 330.3 MB, free: 13.05 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3499, allocations: 1.469 kB / 330.3 MB, free: 13.05 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3502, allocations: 12.09 kB / 330.3 MB, free: 13.05 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.0001644/0.3504, allocations: 102.7 kB / 330.4 MB, free: 12.95 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.3508, allocations: 84.42 kB / 330.5 MB, free: 12.92 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3508, allocations: 0 / 330.5 MB, free: 12.92 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.351, allocations: 52.95 kB / 330.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.3514, allocations: 6.156 kB / 330.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.3519, allocations: 186.3 kB / 330.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3522, allocations: 0.6881 MB / 331.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.855e-05/0.3523, allocations: 7.188 kB / 331.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.3523, allocations: 9.656 kB / 331.4 MB, free: 12.01 MB / 270.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3523, allocations: 0 / 331.4 MB, free: 12.01 MB / 270.1 MB Notification: Performance of Templates: time 0.003365/0.3557, allocations: 0.7765 MB / 332.2 MB, free: 11.61 MB / 270.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)