Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009188/0.009188, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001822/0.001823, allocations: 186.6 kB / 16.67 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.504/1.504, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3857/0.3857, allocations: 39.93 MB / 309.8 MB, free: 9.418 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 71.89 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3738, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004096/0.3779, allocations: 2.088 MB / 494.8 MB, free: 18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3801, allocations: 1.321 MB / 496.1 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.355e-05/0.3802, allocations: 3.156 kB / 496.1 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.573e-05/0.3803, allocations: 25.73 kB / 496.1 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.3804, allocations: 38.8 kB / 496.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.3809, allocations: 185.2 kB / 496.3 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.3811, allocations: 177.2 kB / 496.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3814, allocations: 105.2 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.3815, allocations: 78.06 kB / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3817, allocations: 88.14 kB / 496.8 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.3817, allocations: 15.47 kB / 496.8 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.382, allocations: 149.7 kB / 496.9 MB, free: 16.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.3821, allocations: 49.02 kB / 497 MB, free: 16.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.3822, allocations: 93.5 kB / 497.1 MB, free: 16.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.3828, allocations: 313.6 kB / 497.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3828, allocations: 1.281 kB / 497.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3828, allocations: 0 / 497.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.3828, allocations: 0 / 497.4 MB, free: 16.4 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008244/0.3837, allocations: 0.519 MB / 497.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.3837, allocations: 12.2 kB / 497.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.3848, allocations: 75.14 kB / 498 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.385, allocations: 189.9 kB / 498.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.3851, allocations: 20.34 kB / 498.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.3851, allocations: 29.12 kB / 498.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.3857, allocations: 196.8 kB / 498.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3857, allocations: 1.094 kB / 498.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.3857, allocations: 9.969 kB / 498.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.3858, allocations: 10.67 kB / 498.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.3862, allocations: 151.8 kB / 498.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.3875, allocations: 0.5869 MB / 499.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.3882, allocations: 227.4 kB / 499.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.3884, allocations: 68.84 kB / 499.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.3885, allocations: 3.797 kB / 499.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.3885, allocations: 36.53 kB / 499.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.3885, allocations: 0 / 499.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006651/0.3892, allocations: 216.2 kB / 499.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.3893, allocations: 55.92 kB / 499.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3894, allocations: 102.3 kB / 499.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3894, allocations: 30.92 kB / 499.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3895, allocations: 132.8 kB / 0.4883 GB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.3896, allocations: 88.3 kB / 0.4884 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.3897, allocations: 48.08 kB / 0.4884 GB, free: 14.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3898, allocations: 320.1 kB / 0.4887 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.39, allocations: 51.5 kB / 0.4888 GB, free: 14.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3901, allocations: 41.92 kB / 0.4888 GB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.3904, allocations: 122.1 kB / 0.4889 GB, free: 14.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3904, allocations: 0 / 0.4889 GB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003384/0.3907, allocations: 168.4 kB / 0.4891 GB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3908, allocations: 9.281 kB / 0.4891 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3908, allocations: 0.6094 kB / 0.4891 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.3908, allocations: 0.9688 kB / 0.4891 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.3912, allocations: 99.25 kB / 0.4892 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3913, allocations: 1.156 kB / 0.4892 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.315e-05/0.3913, allocations: 20.25 kB / 0.4892 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.3914, allocations: 13.61 kB / 0.4892 GB, free: 13.95 MB / 382.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 (27): * Single equations (assignments): 27 * 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.0001171/0.3915, allocations: 129.7 kB / 0.4894 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.3915, allocations: 9.062 kB / 0.4894 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.3916, allocations: 21.88 kB / 0.4894 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3916, allocations: 3.891 kB / 0.4894 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3916, allocations: 0 / 0.4894 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3916, allocations: 2.375 kB / 0.4894 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.392, allocations: 275.3 kB / 0.4897 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.392, allocations: 0 / 0.4897 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.3924, allocations: 105.3 kB / 0.4898 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3924, allocations: 1.781 kB / 0.4898 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3924, allocations: 4 kB / 0.4898 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3924, allocations: 2.516 kB / 0.4898 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3924, allocations: 0 / 0.4898 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.3928, allocations: 284.3 kB / 0.49 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.3928, allocations: 89.52 kB / 0.4901 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.3929, allocations: 6.219 kB / 0.4901 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-05/0.393, allocations: 8.469 kB / 0.4901 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.393, allocations: 20.8 kB / 0.4902 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3931, allocations: 4.75 kB / 0.4902 GB, free: 13.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.062e-05/0.3931, allocations: 85.2 kB / 0.4902 GB, free: 13.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3931, allocations: 0 / 0.4902 GB, free: 13.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.3934, allocations: 43.5 kB / 0.4903 GB, free: 13.13 MB / 382.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 (27): * Single equations (assignments): 27 * 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.0001396/0.3936, allocations: 107.7 kB / 0.4904 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.394, allocations: 139 kB / 0.4905 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.394, allocations: 5.062 kB / 0.4905 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.3941, allocations: 73.56 kB / 0.4906 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3944, allocations: 14.66 kB / 0.4906 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.3953, allocations: 471.5 kB / 0.4911 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3956, allocations: 0.7319 MB / 0.4918 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.225e-05/0.3957, allocations: 14.95 kB / 0.4918 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.3957, allocations: 22.09 kB / 0.4918 GB, free: 11.96 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3957, allocations: 0 / 0.4918 GB, free: 11.96 MB / 382.1 MB Notification: Performance of Templates: time 0.00446/0.4002, allocations: 0.9539 MB / 0.4927 GB, free: 11.85 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1)