Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.002776/0.002776, allocations: 182.3 kB / 7.458 MB, free: 2.5 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.664 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.001788/0.001788, allocations: 115.9 kB / 247.1 MB, free: 6.398 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.1692/0.1692, allocations: 39.95 MB / 331.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.422e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.4729, allocations: 87.16 MB / 0.5223 GB, free: 8.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.4732, allocations: 93.44 kB / 0.5224 GB, free: 8.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02277/0.496, allocations: 7.319 MB / 0.5295 GB, free: 5.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.4961, allocations: 0 / 0.5295 GB, free: 5.98 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004655/0.4965, allocations: 444.5 kB / 0.53 GB, free: 5.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4966, allocations: 12.03 kB / 0.53 GB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.4966, allocations: 7.906 kB / 0.53 GB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4968, allocations: 174.9 kB / 0.5301 GB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4968, allocations: 4 kB / 0.5301 GB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.4969, allocations: 8 kB / 0.5302 GB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001829/0.497, allocations: 102.8 kB / 0.5303 GB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.4972, allocations: 114.5 kB / 0.5304 GB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4972, allocations: 3.938 kB / 0.5304 GB, free: 5.102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4973, allocations: 0 / 0.5304 GB, free: 5.102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4973, allocations: 4 kB / 0.5304 GB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007613/0.498, allocations: 0.5001 MB / 0.5309 GB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.4982, allocations: 72.5 kB / 0.5309 GB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.4982, allocations: 31.48 kB / 0.531 GB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.4983, allocations: 4 kB / 0.531 GB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.4983, allocations: 30.56 kB / 0.531 GB, free: 4.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.4983, allocations: 4 kB / 0.531 GB, free: 4.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002146/0.4985, allocations: 102 kB / 0.5311 GB, free: 4.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.4986, allocations: 55.61 kB / 0.5311 GB, free: 4.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.4986, allocations: 108.5 kB / 0.5312 GB, free: 4.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.4986, allocations: 25.7 kB / 0.5313 GB, free: 4.164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.4987, allocations: 115.5 kB / 0.5314 GB, free: 4.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.4987, allocations: 38.02 kB / 0.5314 GB, free: 4.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.4987, allocations: 0 / 0.5314 GB, free: 4.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.4988, allocations: 323.2 kB / 0.5317 GB, free: 3.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.4988, allocations: 22.19 kB / 0.5317 GB, free: 3.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.4989, allocations: 63.77 kB / 0.5318 GB, free: 3.613 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.499, allocations: 34.36 kB / 0.5318 GB, free: 3.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.499, allocations: 4 kB / 0.5318 GB, free: 3.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001604/0.4991, allocations: 114.6 kB / 0.532 GB, free: 3.484 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4992, allocations: 7.984 kB / 0.532 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.4992, allocations: 0 / 0.532 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4992, allocations: 7.938 kB / 0.532 GB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.4994, allocations: 48.06 kB / 0.532 GB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002624/0.4997, allocations: 0.601 MB / 0.5326 GB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4998, allocations: 15.84 kB / 0.5326 GB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4998, allocations: 7.984 kB / 0.5326 GB, free: 2.781 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.4999, allocations: 113 kB / 0.5327 GB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.4999, allocations: 7.906 kB / 0.5327 GB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.5002, allocations: 148 kB / 0.5329 GB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5002, allocations: 0 / 0.5329 GB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.5002, allocations: 0 / 0.5329 GB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.5003, allocations: 11.89 kB / 0.5329 GB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.5004, allocations: 175.1 kB / 0.5331 GB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5004, allocations: 4 kB / 0.5331 GB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.5007, allocations: 47.91 kB / 0.5331 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5007, allocations: 7.906 kB / 0.5331 GB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.5007, allocations: 0 / 0.5331 GB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001933/0.5009, allocations: 0.5886 MB / 0.5337 GB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5009, allocations: 96 / 0.5337 GB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002002/0.5011, allocations: 255.4 kB / 0.5339 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.5012, allocations: 92.38 kB / 0.534 GB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.5012, allocations: 0 / 0.534 GB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.5013, allocations: 11.98 kB / 0.534 GB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.5014, allocations: 11.55 kB / 0.534 GB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.5014, allocations: 8.062 kB / 0.5341 GB, free: 1.297 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.912e-05/0.5015, allocations: 86.45 kB / 0.5341 GB, free: 1.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.5018, allocations: 87.27 kB / 0.5342 GB, free: 1.133 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.5022, allocations: 201.3 kB / 0.5344 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.5024, allocations: 90.53 kB / 0.5345 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5024, allocations: 3.938 kB / 0.5345 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.5026, allocations: 53.92 kB / 0.5346 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.5028, allocations: 7.797 kB / 0.5346 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.5032, allocations: 193.4 kB / 0.5347 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.5035, allocations: 0.7309 MB / 0.5355 GB, free: 15.86 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5035, allocations: 0 / 0.5355 GB, free: 15.86 MB / 362.7 MB Notification: Performance of Templates: time 0.005427/0.5089, allocations: 2.34 MB / 0.5377 GB, free: 13.55 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1)