Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0008895/0.0008898, allocations: 176 kB / 7.652 MB, free: 1.426 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.357/1.357, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001652, allocations: 116.1 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1833/0.1833, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.309e-05/1.311e-05, allocations: 0 / 393.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2722, allocations: 54.89 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.3836, allocations: 78.93 MB / 0.5148 GB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.3839, allocations: 63.97 kB / 0.5148 GB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008679/0.3926, allocations: 2.931 MB / 0.5177 GB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3926, allocations: 0 / 0.5177 GB, free: 11.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.3926, allocations: 4 kB / 0.5177 GB, free: 11.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003661/0.393, allocations: 366.2 kB / 0.5181 GB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3931, allocations: 8.031 kB / 0.5181 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.3931, allocations: 4 kB / 0.5181 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.3932, allocations: 166.9 kB / 0.5182 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3933, allocations: 8 kB / 0.5182 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3933, allocations: 4 kB / 0.5182 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.59e-05/0.3934, allocations: 27.98 kB / 0.5183 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.638e-05/0.3935, allocations: 53.58 kB / 0.5183 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3935, allocations: 4 kB / 0.5183 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3935, allocations: 3.938 kB / 0.5183 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3936, allocations: 0 / 0.5183 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.3937, allocations: 142.2 kB / 0.5185 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3939, allocations: 50.56 kB / 0.5185 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.394, allocations: 24.86 kB / 0.5185 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.3942, allocations: 109.4 kB / 0.5186 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3943, allocations: 42.48 kB / 0.5187 GB, free: 10.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.3943, allocations: 0 / 0.5187 GB, free: 10.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.1217/0.516, allocations: 5.321 MB / 0.5239 GB, free: 5.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.516, allocations: 51.41 kB / 0.5239 GB, free: 5.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.5161, allocations: 96.95 kB / 0.524 GB, free: 4.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.5162, allocations: 29.7 kB / 0.524 GB, free: 4.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.5162, allocations: 84.14 kB / 0.5241 GB, free: 4.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.5163, allocations: 67 kB / 0.5242 GB, free: 4.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.5164, allocations: 0 / 0.5242 GB, free: 4.762 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5165, allocations: 314.8 kB / 0.5245 GB, free: 4.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.5167, allocations: 172 kB / 0.5247 GB, free: 4.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.517, allocations: 164 kB / 0.5248 GB, free: 4.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009585/0.5179, allocations: 267 kB / 0.5251 GB, free: 3.859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.5179, allocations: 0 / 0.5251 GB, free: 3.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001361/0.5193, allocations: 0.5245 MB / 0.5256 GB, free: 3.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5193, allocations: 4 kB / 0.5256 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5194, allocations: 4 kB / 0.5256 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5194, allocations: 4 kB / 0.5256 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.5199, allocations: 91.84 kB / 0.5257 GB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5199, allocations: 0 / 0.5257 GB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.5202, allocations: 23.98 kB / 0.5257 GB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.5202, allocations: 27.95 kB / 0.5257 GB, free: 3.176 MB / 378.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 (19): * Single equations (assignments): 19 * 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 0.0001276/0.5204, allocations: 104.9 kB / 0.5258 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.5204, allocations: 7.906 kB / 0.5258 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.5221, allocations: 0.6034 MB / 0.5264 GB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.5221, allocations: 4 kB / 0.5264 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5221, allocations: 0 / 0.5264 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5221, allocations: 0 / 0.5264 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.5249, allocations: 0.9898 MB / 0.5274 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5249, allocations: 192 / 0.5274 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.5253, allocations: 91.84 kB / 0.5275 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.5253, allocations: 4 kB / 0.5275 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.5254, allocations: 20.16 kB / 0.5275 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5254, allocations: 0 / 0.5275 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5254, allocations: 7.938 kB / 0.5275 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.5267, allocations: 0.5771 MB / 0.5281 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.5267, allocations: 85.02 kB / 0.5282 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.5268, allocations: 7.953 kB / 0.5282 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.5271, allocations: 27.97 kB / 0.5282 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.5271, allocations: 11.98 kB / 0.5282 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.5272, allocations: 24.23 kB / 0.5282 GB, free: 452 kB / 378.7 MB Notification: Performance of sorting global known variables: time 5.257e-05/0.5272, allocations: 87.27 kB / 0.5283 GB, free: 364 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5272, allocations: 0 / 0.5283 GB, free: 364 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.251/0.7782, allocations: 0.6163 MB / 0.5289 GB, free: 87.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 0.003056/0.7813, allocations: 324.3 kB / 0.5292 GB, free: 87.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007488/0.7821, allocations: 330.7 kB / 0.5295 GB, free: 87.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7821, allocations: 1.562 kB / 0.5295 GB, free: 87.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.7824, allocations: 132.4 kB / 0.5297 GB, free: 87.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.7826, allocations: 4.797 kB / 0.5297 GB, free: 87.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.7842, allocations: 402 kB / 0.53 GB, free: 87.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.7844, allocations: 0.6974 MB / 0.5307 GB, free: 86.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004063/0.7848, allocations: 102.1 kB / 0.5308 GB, free: 86.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.7851, allocations: 67.83 kB / 0.5309 GB, free: 86.95 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.7852, allocations: 1.094 kB / 0.5309 GB, free: 86.95 MB / 378.7 MB Notification: Performance of Templates: time 0.03652/0.8217, allocations: 18.73 MB / 0.5492 GB, free: 75.45 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1)