Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.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.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004963/0.004963, allocations: 186.1 kB / 7.459 MB, free: 2.512 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.174/1.174, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001737/0.001737, allocations: 123.4 kB / 247.1 MB, free: 6.391 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.1785/0.1785, allocations: 39.94 MB / 331.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.734e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.09934, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.4055, allocations: 83.61 MB / 0.5188 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.4058, allocations: 92.34 kB / 0.5189 GB, free: 10.18 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd: time 0.0172/0.423, allocations: 5.643 MB / 0.5244 GB, free: 8.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.4231, allocations: 1.875 kB / 0.5244 GB, free: 8.152 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006183/0.4237, allocations: 448.5 kB / 0.5249 GB, free: 7.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.4238, allocations: 8.719 kB / 0.5249 GB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005905/0.4244, allocations: 78.61 kB / 0.5249 GB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.4247, allocations: 218.3 kB / 0.5252 GB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.4247, allocations: 5.312 kB / 0.5252 GB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.4248, allocations: 8.062 kB / 0.5252 GB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004843/0.4253, allocations: 241.6 kB / 0.5254 GB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.4257, allocations: 242.7 kB / 0.5256 GB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4257, allocations: 0 / 0.5256 GB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.4257, allocations: 3.938 kB / 0.5256 GB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.4258, allocations: 21.92 kB / 0.5257 GB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.4271, allocations: 0.7585 MB / 0.5264 GB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.4274, allocations: 163.3 kB / 0.5266 GB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4275, allocations: 55.92 kB / 0.5266 GB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.4276, allocations: 6.609 kB / 0.5266 GB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.4276, allocations: 39.62 kB / 0.5266 GB, free: 6.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.4276, allocations: 0 / 0.5266 GB, free: 6.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000483/0.4281, allocations: 166.8 kB / 0.5268 GB, free: 6.516 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.4281, allocations: 52.72 kB / 0.5269 GB, free: 6.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4283, allocations: 124.3 kB / 0.527 GB, free: 6.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4283, allocations: 25.7 kB / 0.527 GB, free: 6.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.4284, allocations: 143.8 kB / 0.5271 GB, free: 6.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.4284, allocations: 27.25 kB / 0.5272 GB, free: 6.176 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.4284, allocations: 5.344 kB / 0.5272 GB, free: 6.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.4285, allocations: 325.3 kB / 0.5275 GB, free: 5.852 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.4286, allocations: 58.22 kB / 0.5275 GB, free: 5.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.4287, allocations: 109.3 kB / 0.5276 GB, free: 5.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.4289, allocations: 76.64 kB / 0.5277 GB, free: 5.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4289, allocations: 1.031 kB / 0.5277 GB, free: 5.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003882/0.4293, allocations: 206.5 kB / 0.5279 GB, free: 5.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4293, allocations: 5.375 kB / 0.5279 GB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.4293, allocations: 5.312 kB / 0.5279 GB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4294, allocations: 3.781 kB / 0.5279 GB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.4298, allocations: 76.77 kB / 0.528 GB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007585/0.4306, allocations: 1.805 MB / 0.5298 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.4308, allocations: 26.77 kB / 0.5298 GB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.4309, allocations: 17.39 kB / 0.5298 GB, free: 3.797 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/0.431, allocations: 106.1 kB / 0.5299 GB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.431, allocations: 13.17 kB / 0.5299 GB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.4319, allocations: 311.8 kB / 0.5302 GB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4319, allocations: 2.438 kB / 0.5302 GB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4319, allocations: 0 / 0.5302 GB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4319, allocations: 1.031 kB / 0.5302 GB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.4322, allocations: 206.5 kB / 0.5304 GB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4322, allocations: 0 / 0.5304 GB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.4325, allocations: 63.72 kB / 0.5305 GB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4325, allocations: 0 / 0.5305 GB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4325, allocations: 1.75 kB / 0.5305 GB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006496/0.4332, allocations: 1.805 MB / 0.5322 GB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.4332, allocations: 5.438 kB / 0.5322 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002474/0.4335, allocations: 226.3 kB / 0.5325 GB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.4335, allocations: 92.8 kB / 0.5325 GB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.4335, allocations: 0 / 0.5325 GB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.4337, allocations: 15.61 kB / 0.5326 GB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/0.4338, allocations: 9.078 kB / 0.5326 GB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.4338, allocations: 2.531 kB / 0.5326 GB, free: 1.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.839e-05/0.434, allocations: 111.9 kB / 0.5327 GB, free: 1.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004419/0.4344, allocations: 68.7 kB / 0.5327 GB, free: 1.152 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002763/0.4347, allocations: 141.1 kB / 0.5329 GB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005439/0.4352, allocations: 164.7 kB / 0.533 GB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4353, allocations: 4 kB / 0.533 GB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.4356, allocations: 85.56 kB / 0.5331 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.4358, allocations: 4.562 kB / 0.5331 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.4365, allocations: 240.4 kB / 0.5334 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.437, allocations: 0.7878 MB / 0.5341 GB, free: 16.1 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.437, allocations: 0.5938 kB / 0.5341 GB, free: 16.1 MB / 362.7 MB Notification: Performance of Templates: time 0.006805/0.4438, allocations: 2.833 MB / 0.5369 GB, free: 13.59 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1)