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.000934/0.0009338, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008265/0.008265, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.842/1.842, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0005507/0.0005507, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3368, allocations: 47.59 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001901/0.3388, allocations: 1.222 MB / 328.2 MB, free: 448 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3399, allocations: 0.5201 MB / 328.8 MB, free: 28 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.3399, allocations: 1.031 kB / 328.8 MB, free: 28 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.34, allocations: 21.95 kB / 328.8 MB, free: 12 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.3401, allocations: 5.5 kB / 328.8 MB, free: 8 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.3403, allocations: 35.66 kB / 328.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3405, allocations: 54.16 kB / 328.9 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3406, allocations: 15.36 kB / 328.9 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.3407, allocations: 24.75 kB / 328.9 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.3408, allocations: 22.14 kB / 328.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3409, allocations: 3.531 kB / 328.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.3409, allocations: 24.73 kB / 329 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.341, allocations: 6.875 kB / 329 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.341, allocations: 49.91 kB / 329 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3412, allocations: 56.09 kB / 329.1 MB, free: 15.8 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3412, allocations: 3.984 kB / 329.1 MB, free: 15.8 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3412, allocations: 0 / 329.1 MB, free: 15.8 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3413, allocations: 0 / 329.1 MB, free: 15.8 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.000836/0.3421, allocations: 386.3 kB / 329.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.3422, allocations: 9.656 kB / 329.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.3422, allocations: 11.25 kB / 329.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3424, allocations: 176.1 kB / 329.6 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3424, allocations: 5.188 kB / 329.6 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.3425, allocations: 7.547 kB / 329.7 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.3428, allocations: 100.4 kB / 329.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3428, allocations: 0 / 329.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.3429, allocations: 5.25 kB / 329.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3429, allocations: 1.281 kB / 329.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.3433, allocations: 102.5 kB / 329.9 MB, free: 15.08 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.3438, allocations: 312.5 kB / 330.2 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.3442, allocations: 80.47 kB / 330.2 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.3444, allocations: 60.47 kB / 330.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3444, allocations: 1.219 kB / 330.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3444, allocations: 38.59 kB / 330.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3444, allocations: 1.219 kB / 330.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007488/0.3452, allocations: 181.4 kB / 330.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.3453, allocations: 52.47 kB / 330.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3454, allocations: 108.3 kB / 330.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3454, allocations: 25.7 kB / 330.7 MB, free: 14.34 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.3455, allocations: 95.61 kB / 330.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.3455, allocations: 21.23 kB / 330.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.3456, allocations: 12 kB / 330.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3458, allocations: 320.1 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.3459, allocations: 45.14 kB / 331.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.3461, allocations: 58.81 kB / 331.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.3465, allocations: 100.1 kB / 331.3 MB, free: 13.8 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3465, allocations: 0 / 331.3 MB, free: 13.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003933/0.3469, allocations: 140.4 kB / 331.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3469, allocations: 5.688 kB / 331.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3469, allocations: 3.984 kB / 331.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3469, allocations: 1.25 kB / 331.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3471, allocations: 25.05 kB / 331.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3471, allocations: 5.203 kB / 331.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3472, allocations: 23.73 kB / 331.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3472, allocations: 0.9062 kB / 331.5 MB, free: 13.7 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.0001346/0.3474, allocations: 121 kB / 331.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3474, allocations: 10.06 kB / 331.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.3479, allocations: 143.9 kB / 331.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3479, allocations: 1.219 kB / 331.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3479, allocations: 1.094 kB / 331.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.348, allocations: 0 / 331.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.3482, allocations: 203.4 kB / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3482, allocations: 1.5 kB / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3483, allocations: 31.14 kB / 332 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3484, allocations: 1 kB / 332 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3484, allocations: 0.875 kB / 332 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3484, allocations: 0 / 332 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3484, allocations: 5.016 kB / 332.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.3489, allocations: 237.2 kB / 332.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.349, allocations: 82.08 kB / 332.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.349, allocations: 1.094 kB / 332.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3491, allocations: 23.53 kB / 332.4 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.3492, allocations: 3.281 kB / 332.4 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.3492, allocations: 5.125 kB / 332.4 MB, free: 12.95 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.193e-05/0.3492, allocations: 87.48 kB / 332.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3492, allocations: 0 / 332.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.3495, allocations: 16.84 kB / 332.5 MB, free: 12.86 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.0001561/0.3496, allocations: 105.5 kB / 332.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004094/0.3501, allocations: 116.1 kB / 332.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3501, allocations: 1.062 kB / 332.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.3503, allocations: 61.48 kB / 332.8 MB, free: 12.69 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3506, allocations: 11.22 kB / 332.8 MB, free: 12.68 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.351, allocations: 184.5 kB / 333 MB, free: 12.52 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3513, allocations: 0.6918 MB / 333.7 MB, free: 11.81 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.288e-05/0.3514, allocations: 6.969 kB / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.3514, allocations: 10.28 kB / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3514, allocations: 0 / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of Templates: time 0.003609/0.355, allocations: 0.7579 MB / 334.4 MB, free: 11.41 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)