Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Annex60.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal") [: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/Annex60 1.0.0/package.mo): time 0.2853/0.2853, allocations: 54.39 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001204/0.001204, allocations: 182.3 kB / 75.37 MB, free: 1.539 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.749/1.749, allocations: 194.2 MB / 283.2 MB, free: 3.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002203/0.002203, allocations: 112.1 kB / 341.3 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.926e-06/8.956e-06, allocations: 0 / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1555, allocations: 57.65 MB / 462.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.231, allocations: 359 MB / 0.8023 GB, free: 32.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.232, allocations: 82.41 kB / 0.8024 GB, free: 32.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.79/5.022, allocations: 1.004 GB / 1.806 GB, free: 44.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0009755/5.023, allocations: 139.9 kB / 1.807 GB, free: 43.88 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 793 * Number of variables: 793 Notification: Performance of Generate backend data structure: time 0.01404/5.037, allocations: 4.46 MB / 1.811 GB, free: 39.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/5.037, allocations: 15.97 kB / 1.811 GB, free: 39.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005484/5.043, allocations: 0.8521 MB / 1.812 GB, free: 38.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02051/5.063, allocations: 7.363 MB / 1.819 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/5.064, allocations: 100 kB / 1.819 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002115/5.066, allocations: 199.9 kB / 1.819 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01001/5.076, allocations: 4.666 MB / 1.824 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009771/5.086, allocations: 4.688 MB / 1.828 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.081e-05/5.086, allocations: 7.938 kB / 1.828 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006102/5.087, allocations: 16 kB / 1.828 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/5.087, allocations: 76 kB / 1.828 GB, free: 21.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.306/5.393, allocations: 21.17 MB / 1.849 GB, free: 96.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/5.397, allocations: 2.521 MB / 1.852 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/5.399, allocations: 1.671 MB / 1.853 GB, free: 96.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/5.411, allocations: 6.112 MB / 1.859 GB, free: 94.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/5.413, allocations: 1.788 MB / 1.861 GB, free: 94.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 4.368e-06/5.413, allocations: 0 / 1.861 GB, free: 94.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=159): time 0.0384/5.452, allocations: 11.19 MB / 1.872 GB, free: 93.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/5.452, allocations: 226.9 kB / 1.872 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006263/5.458, allocations: 3.719 MB / 1.876 GB, free: 93.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009236/5.459, allocations: 32.52 kB / 1.876 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/5.461, allocations: 1.521 MB / 1.877 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001379/5.462, allocations: 0.5404 MB / 1.878 GB, free: 92.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/5.462, allocations: 7.156 kB / 1.878 GB, free: 92.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001692/5.463, allocations: 417.9 kB / 1.878 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/5.465, allocations: 1.56 MB / 1.88 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/5.467, allocations: 2.729 MB / 1.882 GB, free: 90.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/5.471, allocations: 2.122 MB / 1.884 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/5.472, allocations: 6.156 kB / 1.884 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.07311/5.545, allocations: 13.04 MB / 1.897 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.004912/5.55, allocations: 13.58 MB / 1.91 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002211/5.55, allocations: 34.16 kB / 1.91 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06794/5.618, allocations: 10.93 MB / 1.921 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003398/5.621, allocations: 0.6759 MB / 1.922 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/5.637, allocations: 6.457 MB / 1.928 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006145/5.643, allocations: 273.3 kB / 1.928 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008731/5.644, allocations: 196.4 kB / 1.929 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/5.644, allocations: 3.656 kB / 1.929 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06744/5.712, allocations: 11.81 MB / 1.94 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/5.712, allocations: 32.03 kB / 1.94 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06754/5.779, allocations: 10.63 MB / 1.951 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/5.783, allocations: 0.6633 MB / 1.951 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/5.795, allocations: 8.019 MB / 1.959 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005609/5.801, allocations: 213.5 kB / 1.959 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006578/5.802, allocations: 194.7 kB / 1.959 GB, free: 71.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 267 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {12 15,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001124/5.803, allocations: 190.6 kB / 1.96 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/5.804, allocations: 419 kB / 1.96 GB, free: 71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/5.821, allocations: 5.518 MB / 1.965 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.121e-05/5.821, allocations: 21.59 kB / 1.965 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/5.821, allocations: 0 / 1.965 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01426/5.835, allocations: 5.909 MB / 1.971 GB, free: 69.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03416/5.87, allocations: 10.59 MB / 1.981 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/5.87, allocations: 3.875 kB / 1.981 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002923/5.873, allocations: 422.3 kB / 1.982 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006038/5.879, allocations: 2.12 MB / 1.984 GB, free: 68.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004502/5.879, allocations: 40.53 kB / 1.984 GB, free: 68.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/5.902, allocations: 8.98 MB / 1.993 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/5.902, allocations: 1.406 kB / 1.993 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0287/5.93, allocations: 8.51 MB / 2.001 GB, free: 63.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004309/5.935, allocations: 0.949 MB / 2.002 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/5.936, allocations: 6.375 kB / 2.002 GB, free: 63.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004388/5.941, allocations: 242.1 kB / 2.002 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/5.941, allocations: 107.1 kB / 2.002 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003049/5.941, allocations: 92.75 kB / 2.002 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.005031/5.947, allocations: 2.824 MB / 2.005 GB, free: 63.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01309/5.96, allocations: 2.244 MB / 2.007 GB, free: 63.13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.heaCoo.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {12 5,2 4,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00297/5.963, allocations: 1.169 MB / 2.009 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02455/5.987, allocations: 7.474 MB / 2.016 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/5.987, allocations: 5.688 kB / 2.016 GB, free: 61.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009049/5.996, allocations: 2.874 MB / 2.019 GB, free: 58.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/6.008, allocations: 2.114 MB / 2.021 GB, free: 57.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02166/6.03, allocations: 8.174 MB / 2.029 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004085/6.034, allocations: 3.6 MB / 2.032 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of SimCode: time 2.284e-06/6.034, allocations: 0 / 2.032 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of Templates: time 0.483/6.517, allocations: 118.3 MB / 2.148 GB, free: 85.6 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)