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.001374/0.001374, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001321/0.001322, allocations: 199 kB / 16.26 MB, free: 6.625 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.679/1.679, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001303/0.001303, allocations: 47.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2836, allocations: 46.63 MB / 324.8 MB, free: 1.906 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002694/0.2864, allocations: 1.549 MB / 326.4 MB, free: 0.6875 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007669/0.2872, allocations: 0.5414 MB / 326.9 MB, free: 264 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.2872, allocations: 4.938 kB / 326.9 MB, free: 260 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2874, allocations: 17.83 kB / 326.9 MB, free: 248 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.2874, allocations: 9.469 kB / 327 MB, free: 240 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.2876, allocations: 32.28 kB / 327 MB, free: 220 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2877, allocations: 58.41 kB / 327 MB, free: 184 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.2879, allocations: 12.06 kB / 327.1 MB, free: 180 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.288, allocations: 33.17 kB / 327.1 MB, free: 156 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.2881, allocations: 27.64 kB / 327.1 MB, free: 136 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2881, allocations: 5.938 kB / 327.1 MB, free: 136 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.2882, allocations: 21.36 kB / 327.1 MB, free: 128 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.2882, allocations: 13.53 kB / 327.2 MB, free: 116 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.2883, allocations: 24.83 kB / 327.2 MB, free: 96 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.2884, allocations: 71.97 kB / 327.2 MB, free: 40 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2884, allocations: 0 / 327.2 MB, free: 40 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2885, allocations: 1.438 kB / 327.2 MB, free: 40 kB / 254.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2885, allocations: 0 / 327.2 MB, free: 40 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.0007873/0.2893, allocations: 383.1 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2893, allocations: 13.91 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.2894, allocations: 7.219 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2895, allocations: 180.3 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2895, allocations: 1.75 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.2896, allocations: 3.25 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.2899, allocations: 90.89 kB / 327.9 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2899, allocations: 0 / 327.9 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.2899, allocations: 4 kB / 327.9 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2899, allocations: 2.344 kB / 327.9 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.2902, allocations: 80.42 kB / 328 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.2907, allocations: 310.4 kB / 328.3 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.291, allocations: 79.75 kB / 328.4 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.2912, allocations: 38.52 kB / 328.4 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2912, allocations: 0 / 328.4 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2912, allocations: 39.84 kB / 328.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.2912, allocations: 0 / 328.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005644/0.2918, allocations: 153.4 kB / 328.6 MB, free: 14.79 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2919, allocations: 51.41 kB / 328.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.292, allocations: 112.4 kB / 328.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.292, allocations: 30.83 kB / 328.8 MB, free: 14.58 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.2921, allocations: 98.47 kB / 328.9 MB, free: 14.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.2921, allocations: 9.938 kB / 328.9 MB, free: 14.47 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.2921, allocations: 21.14 kB / 328.9 MB, free: 14.45 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2923, allocations: 316.9 kB / 329.2 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.2924, allocations: 39.92 kB / 329.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.2926, allocations: 32.25 kB / 329.3 MB, free: 14.1 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.2929, allocations: 93.38 kB / 329.4 MB, free: 14.05 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2929, allocations: 0 / 329.4 MB, free: 14.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003867/0.2933, allocations: 112.7 kB / 329.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2933, allocations: 5.562 kB / 329.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2933, allocations: 4 kB / 329.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2933, allocations: 1.219 kB / 329.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2935, allocations: 21.03 kB / 329.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2935, allocations: 0 / 329.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.2936, allocations: 11.2 kB / 329.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.2936, allocations: 5.094 kB / 329.6 MB, free: 13.96 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 9.995e-05/0.2937, allocations: 120.4 kB / 329.7 MB, free: 13.83 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.2937, allocations: 10.66 kB / 329.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.2941, allocations: 128.2 kB / 329.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2941, allocations: 1.469 kB / 329.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2941, allocations: 0 / 329.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2942, allocations: 1.375 kB / 329.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.2944, allocations: 195.7 kB / 330 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2944, allocations: 4 kB / 330 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.2945, allocations: 19.55 kB / 330 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2945, allocations: 0 / 330 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2945, allocations: 5.094 kB / 330 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2945, allocations: 3.938 kB / 330 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2945, allocations: 1.281 kB / 330 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.295, allocations: 221.3 kB / 330.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.295, allocations: 78.42 kB / 330.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.295, allocations: 5.141 kB / 330.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2952, allocations: 14.39 kB / 330.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.2952, allocations: 7.359 kB / 330.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.2952, allocations: 6.094 kB / 330.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.992e-05/0.2953, allocations: 94.2 kB / 330.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2953, allocations: 4 kB / 330.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000221/0.2955, allocations: 18 kB / 330.5 MB, free: 13.11 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.0001277/0.2956, allocations: 97.53 kB / 330.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.296, allocations: 89.14 kB / 330.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.296, allocations: 4 kB / 330.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.2962, allocations: 48 kB / 330.7 MB, free: 12.95 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2965, allocations: 11.14 kB / 330.7 MB, free: 12.95 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.2969, allocations: 189.9 kB / 330.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.2972, allocations: 0.6837 MB / 331.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.733e-05/0.2972, allocations: 7.359 kB / 331.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.2973, allocations: 10.81 kB / 331.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2973, allocations: 0 / 331.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of Templates: time 0.003651/0.3009, allocations: 0.7999 MB / 332.4 MB, free: 11.66 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)