Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") [: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 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 184.5 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4586/0.4586, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.4 MB / 342.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 89.14 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.315e-06/8.425e-06, allocations: 4 kB / 493.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3018, allocations: 72.3 MB / 0.5529 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5715/0.8733, allocations: 386.1 MB / 0.9299 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.8736, allocations: 90.02 kB / 0.93 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.998/2.872, allocations: 0.6503 GB / 1.58 GB, free: 65.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001652/2.872, allocations: 37.05 kB / 1.58 GB, free: 65.26 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003464/2.876, allocations: 1.498 MB / 1.582 GB, free: 64.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/2.876, allocations: 10.78 kB / 1.582 GB, free: 64.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/2.878, allocations: 0.5377 MB / 1.582 GB, free: 63.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/2.882, allocations: 1.328 MB / 1.584 GB, free: 62.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/2.882, allocations: 106 kB / 1.584 GB, free: 62.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/2.882, allocations: 49.16 kB / 1.584 GB, free: 62.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001136/2.883, allocations: 0.6541 MB / 1.584 GB, free: 62.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/2.884, allocations: 0.771 MB / 1.585 GB, free: 62.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/2.884, allocations: 0 / 1.585 GB, free: 62.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/2.884, allocations: 6.719 kB / 1.585 GB, free: 62.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/2.884, allocations: 31.58 kB / 1.585 GB, free: 62.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005748/2.89, allocations: 4.708 MB / 1.59 GB, free: 58.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/2.891, allocations: 0.5428 MB / 1.59 GB, free: 57.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/2.891, allocations: 289.1 kB / 1.591 GB, free: 57.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000616/2.892, allocations: 0.855 MB / 1.591 GB, free: 56.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/2.892, allocations: 38.38 kB / 1.591 GB, free: 56.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=53): time 2.205e-06/2.892, allocations: 0 / 1.591 GB, free: 56.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=53): time 0.00168/2.894, allocations: 0.7334 MB / 1.592 GB, free: 56.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/2.894, allocations: 55.75 kB / 1.592 GB, free: 56.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/2.895, allocations: 0.6879 MB / 1.593 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/2.895, allocations: 25.7 kB / 1.593 GB, free: 55.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/2.895, allocations: 358.2 kB / 1.593 GB, free: 55.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/2.895, allocations: 175.7 kB / 1.593 GB, free: 55.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/2.895, allocations: 3.938 kB / 1.593 GB, free: 55.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/2.895, allocations: 329.5 kB / 1.594 GB, free: 55.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/2.895, allocations: 207.6 kB / 1.594 GB, free: 54.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/2.896, allocations: 410 kB / 1.594 GB, free: 54.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/2.897, allocations: 276.6 kB / 1.595 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.897, allocations: 3.594 kB / 1.595 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003055/2.9, allocations: 1.005 MB / 1.596 GB, free: 54.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/2.9, allocations: 0.9646 MB / 1.597 GB, free: 53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/2.9, allocations: 3.375 kB / 1.597 GB, free: 53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008036/2.901, allocations: 297.1 kB / 1.597 GB, free: 52.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/2.901, allocations: 133.1 kB / 1.597 GB, free: 52.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/2.902, allocations: 0.952 MB / 1.598 GB, free: 52.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/2.904, allocations: 157.3 kB / 1.598 GB, free: 52.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/2.904, allocations: 32.83 kB / 1.598 GB, free: 52.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/2.904, allocations: 3.844 kB / 1.598 GB, free: 52.01 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00315/2.907, allocations: 0.8675 MB / 1.599 GB, free: 51.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/2.907, allocations: 5.781 kB / 1.599 GB, free: 51.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007983/2.908, allocations: 298.7 kB / 1.599 GB, free: 51.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/2.908, allocations: 125.2 kB / 1.599 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/2.909, allocations: 0.9492 MB / 1.6 GB, free: 50.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/2.911, allocations: 153.9 kB / 1.6 GB, free: 50.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/2.911, allocations: 28.48 kB / 1.6 GB, free: 50.67 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.eva.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002228/2.911, allocations: 125.4 kB / 1.601 GB, free: 50.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/2.911, allocations: 97.19 kB / 1.601 GB, free: 50.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003462/2.915, allocations: 1.121 MB / 1.602 GB, free: 49.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/2.915, allocations: 10.27 kB / 1.602 GB, free: 49.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/2.915, allocations: 0.625 kB / 1.602 GB, free: 49.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/2.915, allocations: 0.5938 kB / 1.602 GB, free: 49.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/2.918, allocations: 1.889 MB / 1.604 GB, free: 48.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/2.918, allocations: 4 kB / 1.604 GB, free: 48.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/2.918, allocations: 104 kB / 1.604 GB, free: 48.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007226/2.919, allocations: 329.1 kB / 1.604 GB, free: 47.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/2.919, allocations: 10.05 kB / 1.604 GB, free: 47.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/2.92, allocations: 0.9807 MB / 1.605 GB, free: 46.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/2.92, allocations: 8.062 kB / 1.605 GB, free: 46.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001443/2.921, allocations: 0.9948 MB / 1.606 GB, free: 45.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/2.922, allocations: 279.5 kB / 1.606 GB, free: 45.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/2.922, allocations: 4 kB / 1.606 GB, free: 45.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/2.923, allocations: 131.8 kB / 1.606 GB, free: 45.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/2.923, allocations: 32.39 kB / 1.606 GB, free: 45.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/2.923, allocations: 23.98 kB / 1.606 GB, free: 45.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005647/2.924, allocations: 0.5279 MB / 1.607 GB, free: 44.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001502/2.925, allocations: 0.6196 MB / 1.608 GB, free: 44 MB / 0.6198 GB 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 (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009842/2.926, allocations: 0.6784 MB / 1.608 GB, free: 43.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001687/2.928, allocations: 0.9305 MB / 1.609 GB, free: 42.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.928, allocations: 4.188 kB / 1.609 GB, free: 42.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006065/2.928, allocations: 340 kB / 1.609 GB, free: 42.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/2.931, allocations: 422.1 kB / 1.61 GB, free: 41.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/2.934, allocations: 1.381 MB / 1.611 GB, free: 40.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/2.935, allocations: 1.179 MB / 1.612 GB, free: 39.09 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/2.935, allocations: 0 / 1.612 GB, free: 39.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.03765/2.973, allocations: 27.52 MB / 1.639 GB, free: 12.15 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)