Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [: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.003142/0.003142, allocations: 187.2 kB / 7.461 MB, free: 2.52 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.353/1.353, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001752/0.001753, allocations: 121.7 kB / 247.1 MB, free: 6.324 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.1637/0.1637, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.524e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09797, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/1.476, allocations: 0.5871 GB / 1.024 GB, free: 173.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.476, allocations: 90.98 kB / 1.024 GB, free: 173.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.8108/2.287, allocations: 264.4 MB / 1.283 GB, free: 90.05 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.856e-05/2.287, allocations: 15.66 kB / 1.283 GB, free: 90.05 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004996/2.292, allocations: 1.203 MB / 1.284 GB, free: 89.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/2.292, allocations: 9.188 kB / 1.284 GB, free: 89.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/2.294, allocations: 156.3 kB / 1.284 GB, free: 89.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/2.295, allocations: 0.5376 MB / 1.284 GB, free: 88.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/2.295, allocations: 14.28 kB / 1.284 GB, free: 88.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/2.295, allocations: 24.38 kB / 1.284 GB, free: 88.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009192/2.296, allocations: 434.1 kB / 1.285 GB, free: 88.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/2.297, allocations: 0.5304 MB / 1.285 GB, free: 88.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/2.297, allocations: 0.9375 kB / 1.285 GB, free: 88.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/2.298, allocations: 2.188 kB / 1.285 GB, free: 88.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/2.298, allocations: 15.31 kB / 1.285 GB, free: 88.12 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/2.301, allocations: 2.602 MB / 1.288 GB, free: 85.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/2.301, allocations: 209.2 kB / 1.288 GB, free: 85.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/2.301, allocations: 138.3 kB / 1.288 GB, free: 85.65 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/2.302, allocations: 318.8 kB / 1.289 GB, free: 85.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/2.302, allocations: 44.88 kB / 1.289 GB, free: 85.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.726e-06/2.302, allocations: 0 / 1.289 GB, free: 85.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.002632/2.304, allocations: 0.8175 MB / 1.289 GB, free: 84.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/2.304, allocations: 160.7 kB / 1.29 GB, free: 84.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/2.305, allocations: 383.9 kB / 1.29 GB, free: 84.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/2.305, allocations: 29.64 kB / 1.29 GB, free: 84.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/2.305, allocations: 280.6 kB / 1.29 GB, free: 84.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.538e-05/2.305, allocations: 109.3 kB / 1.29 GB, free: 84.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/2.305, allocations: 3.469 kB / 1.29 GB, free: 84.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/2.305, allocations: 358.3 kB / 1.291 GB, free: 83.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/2.305, allocations: 127.4 kB / 1.291 GB, free: 83.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/2.306, allocations: 345.2 kB / 1.291 GB, free: 83.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/2.308, allocations: 0.6611 MB / 1.292 GB, free: 83.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/2.308, allocations: 0 / 1.292 GB, free: 83.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002725/2.311, allocations: 1.01 MB / 1.293 GB, free: 82.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/2.311, allocations: 7.469 kB / 1.293 GB, free: 82.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/2.311, allocations: 3.594 kB / 1.293 GB, free: 82.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/2.311, allocations: 51.3 kB / 1.293 GB, free: 82.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/2.311, allocations: 134 kB / 1.293 GB, free: 82.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005119/2.312, allocations: 0.6189 MB / 1.294 GB, free: 81.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/2.312, allocations: 57.38 kB / 1.294 GB, free: 81.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/2.313, allocations: 63.23 kB / 1.294 GB, free: 81.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001484/2.313, allocations: 120.2 kB / 1.294 GB, free: 81.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/2.313, allocations: 54.78 kB / 1.294 GB, free: 81.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/2.315, allocations: 0.7013 MB / 1.295 GB, free: 81.42 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/2.315, allocations: 2.719 kB / 1.295 GB, free: 81.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/2.315, allocations: 0 / 1.295 GB, free: 81.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/2.315, allocations: 5.297 kB / 1.295 GB, free: 81.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/2.317, allocations: 1.128 MB / 1.296 GB, free: 80.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/2.317, allocations: 0 / 1.296 GB, free: 80.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/2.317, allocations: 57.25 kB / 1.296 GB, free: 80.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/2.317, allocations: 49.77 kB / 1.296 GB, free: 80.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/2.317, allocations: 3.719 kB / 1.296 GB, free: 80.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004338/2.317, allocations: 0.6079 MB / 1.296 GB, free: 79.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/2.318, allocations: 0 / 1.296 GB, free: 79.89 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001138/2.319, allocations: 0.6541 MB / 1.297 GB, free: 79.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/2.319, allocations: 153.9 kB / 1.297 GB, free: 79.19 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/2.319, allocations: 3.406 kB / 1.297 GB, free: 79.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/2.319, allocations: 18.42 kB / 1.297 GB, free: 79.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/2.32, allocations: 20.59 kB / 1.297 GB, free: 79.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/2.32, allocations: 17.89 kB / 1.297 GB, free: 79.17 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003983/2.32, allocations: 319.4 kB / 1.298 GB, free: 78.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001704/2.322, allocations: 412.7 kB / 1.298 GB, free: 78.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002829/2.325, allocations: 1.463 MB / 1.299 GB, free: 78.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007096/2.325, allocations: 329.5 kB / 1.3 GB, free: 78.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/2.325, allocations: 0 / 1.3 GB, free: 78.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/2.326, allocations: 122.1 kB / 1.3 GB, free: 78.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/2.327, allocations: 237.2 kB / 1.3 GB, free: 78.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/2.334, allocations: 2.452 MB / 1.302 GB, free: 75.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008289/2.334, allocations: 0.9952 MB / 1.303 GB, free: 74.84 MB / 474.7 MB Notification: Performance of SimCode: time 3.4e-07/2.334, allocations: 0 / 1.303 GB, free: 74.84 MB / 474.7 MB Notification: Performance of Templates: time 0.02822/2.363, allocations: 18.34 MB / 1.321 GB, free: 57.4 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)