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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.00174/0.001739, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.455/1.455, allocations: 194.3 MB / 202.4 MB, free: 8.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001653/0.001653, allocations: 118.6 kB / 247.4 MB, free: 6.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2018/0.2018, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.424e-05, allocations: 8 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4649, allocations: 83.47 MB / 0.5192 GB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.4652, allocations: 63.09 kB / 0.5193 GB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.4798, allocations: 6.003 MB / 0.5251 GB, free: 7.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4799, allocations: 3.844 kB / 0.5251 GB, free: 7.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.4799, allocations: 3.844 kB / 0.5251 GB, free: 7.836 MB / 346.7 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.0004162/0.4803, allocations: 480.3 kB / 0.5256 GB, free: 7.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4804, allocations: 7.688 kB / 0.5256 GB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007151/0.4811, allocations: 70.56 kB / 0.5257 GB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4812, allocations: 186.5 kB / 0.5258 GB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4812, allocations: 7.625 kB / 0.5259 GB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.4813, allocations: 15.41 kB / 0.5259 GB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001995/0.4815, allocations: 116.2 kB / 0.526 GB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.4817, allocations: 157.3 kB / 0.5261 GB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4817, allocations: 0 / 0.5261 GB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.4817, allocations: 3.984 kB / 0.5261 GB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4817, allocations: 11.48 kB / 0.5261 GB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.4824, allocations: 0.5338 MB / 0.5267 GB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.4828, allocations: 205.5 kB / 0.5269 GB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.4829, allocations: 50.23 kB / 0.5269 GB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.4829, allocations: 4.078 kB / 0.5269 GB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.483, allocations: 38.41 kB / 0.5269 GB, free: 6.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.173e-06/0.483, allocations: 3.844 kB / 0.527 GB, free: 6.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002322/0.4832, allocations: 138.2 kB / 0.5271 GB, free: 6.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.4832, allocations: 59.22 kB / 0.5271 GB, free: 6.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.4833, allocations: 92.84 kB / 0.5272 GB, free: 6.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.4833, allocations: 29.7 kB / 0.5273 GB, free: 6.352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.4833, allocations: 135.7 kB / 0.5274 GB, free: 6.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.4834, allocations: 88.31 kB / 0.5275 GB, free: 6.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-06/0.4834, allocations: 0 / 0.5275 GB, free: 6.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.4835, allocations: 329.3 kB / 0.5278 GB, free: 5.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.4835, allocations: 28.94 kB / 0.5278 GB, free: 5.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.4836, allocations: 34.56 kB / 0.5278 GB, free: 5.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.689e-05/0.4836, allocations: 36.69 kB / 0.5279 GB, free: 5.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4836, allocations: 0 / 0.5279 GB, free: 5.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001553/0.4838, allocations: 140.9 kB / 0.528 GB, free: 5.781 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.4838, allocations: 8.875 kB / 0.528 GB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4838, allocations: 0 / 0.528 GB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4838, allocations: 3.844 kB / 0.528 GB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.4842, allocations: 103.9 kB / 0.5281 GB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4842, allocations: 0 / 0.5281 GB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.4843, allocations: 15.72 kB / 0.5281 GB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4843, allocations: 3.812 kB / 0.5281 GB, free: 5.75 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.4843, allocations: 112.8 kB / 0.5283 GB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.4844, allocations: 15.22 kB / 0.5283 GB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.4844, allocations: 16.06 kB / 0.5283 GB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4844, allocations: 3.969 kB / 0.5283 GB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4845, allocations: 0 / 0.5283 GB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4845, allocations: 7.969 kB / 0.5283 GB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.4846, allocations: 220.7 kB / 0.5285 GB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4846, allocations: 4 kB / 0.5285 GB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.485, allocations: 99.91 kB / 0.5286 GB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.485, allocations: 7.781 kB / 0.5286 GB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.485, allocations: 3.984 kB / 0.5286 GB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.485, allocations: 0 / 0.5286 GB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.485, allocations: 0 / 0.5286 GB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.4852, allocations: 244.9 kB / 0.5288 GB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.4852, allocations: 88.83 kB / 0.5289 GB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4853, allocations: 7.828 kB / 0.5289 GB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.4854, allocations: 3.938 kB / 0.5289 GB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.4854, allocations: 15.66 kB / 0.529 GB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.4854, allocations: 10.88 kB / 0.529 GB, free: 5.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.793e-05/0.4854, allocations: 75.28 kB / 0.529 GB, free: 5.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4854, allocations: 4 kB / 0.529 GB, free: 5.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.4857, allocations: 42.78 kB / 0.5291 GB, free: 5.039 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.794e-05/0.4858, allocations: 94.66 kB / 0.5292 GB, free: 4.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.4859, allocations: 113.7 kB / 0.5293 GB, free: 4.938 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4859, allocations: 0 / 0.5293 GB, free: 4.938 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.486, allocations: 64.34 kB / 0.5293 GB, free: 4.934 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.4861, allocations: 0 / 0.5293 GB, free: 4.934 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.4865, allocations: 223.6 kB / 0.5296 GB, free: 4.797 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.4866, allocations: 0.7305 MB / 0.5303 GB, free: 4.074 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.4868, allocations: 16.86 kB / 0.5303 GB, free: 4.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.4868, allocations: 18.88 kB / 0.5303 GB, free: 4.059 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4868, allocations: 0 / 0.5303 GB, free: 4.059 MB / 346.7 MB Notification: Performance of Templates: time 0.002701/0.4895, allocations: 0.7955 MB / 0.5311 GB, free: 3.676 MB / 346.7 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)