Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos") translateModel(BuildingSystems.Fluid.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.8198/0.8198, allocations: 141.8 MB / 149.1 MB, free: 1.23 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 181.3 kB / 182 MB, free: 0.5625 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 221.4 MB / 436 MB, free: 5.199 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 104.6 kB / 0.507 GB, free: 1.855 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001916/0.001916, allocations: 278.6 kB / 0.5885 GB, free: 47.03 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.693e-05, allocations: 2.375 kB / 0.6759 GB, free: 59.51 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 82.78 MB / 0.7567 GB, free: 0.4961 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.598/4.811, allocations: 2.15 GB / 2.906 GB, free: 217.3 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/4.811, allocations: 88.66 kB / 2.907 GB, free: 217.2 MB / 0.7138 GB Notification: Performance of FrontEnd: time 3.206/8.017, allocations: 0.8821 GB / 3.789 GB, free: 76.89 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0005456/8.018, allocations: 66.31 kB / 3.789 GB, free: 76.89 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.008773/8.026, allocations: 2.527 MB / 3.791 GB, free: 75.66 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/8.026, allocations: 14.06 kB / 3.791 GB, free: 75.66 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004127/8.031, allocations: 0.5705 MB / 3.792 GB, free: 75.49 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04576/8.076, allocations: 17.85 MB / 3.809 GB, free: 74.35 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/8.076, allocations: 38.41 kB / 3.809 GB, free: 74.35 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006483/8.077, allocations: 86.28 kB / 3.809 GB, free: 74.35 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003315/8.08, allocations: 1.247 MB / 3.811 GB, free: 74.34 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003443/8.084, allocations: 1.379 MB / 3.812 GB, free: 74.14 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.033e-05/8.084, allocations: 1.875 kB / 3.812 GB, free: 74.14 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/8.084, allocations: 3.781 kB / 3.812 GB, free: 74.14 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/8.084, allocations: 29.78 kB / 3.812 GB, free: 74.14 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/8.1, allocations: 8.385 MB / 3.82 GB, free: 70.3 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/8.102, allocations: 1.159 MB / 3.821 GB, free: 70.26 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009699/8.103, allocations: 0.6595 MB / 3.822 GB, free: 70.25 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006175/8.109, allocations: 3.063 MB / 3.825 GB, free: 69.09 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/8.109, allocations: 38.66 kB / 3.825 GB, free: 69.05 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=61): time 3.216e-06/8.109, allocations: 1.125 kB / 3.825 GB, free: 69.05 MB / 0.7138 GB Notification: Performance of matching and sorting (n=61): time 0.004505/8.113, allocations: 1.765 MB / 3.827 GB, free: 68.84 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/8.114, allocations: 63.62 kB / 3.827 GB, free: 68.78 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/8.119, allocations: 2.789 MB / 3.829 GB, free: 68.55 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.000249/8.119, allocations: 29.64 kB / 3.829 GB, free: 68.52 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/8.12, allocations: 0.6815 MB / 3.83 GB, free: 68.2 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/8.12, allocations: 203.9 kB / 3.83 GB, free: 68.07 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/8.12, allocations: 0 / 3.83 GB, free: 68.07 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001047/8.12, allocations: 353.2 kB / 3.831 GB, free: 67.76 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007608/8.121, allocations: 0.6023 MB / 3.831 GB, free: 67.75 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/8.122, allocations: 1.166 MB / 3.832 GB, free: 67.05 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/8.124, allocations: 0.8351 MB / 3.833 GB, free: 67.04 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/8.124, allocations: 3.969 kB / 3.833 GB, free: 67.04 MB / 0.7138 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00476/8.129, allocations: 2.224 MB / 3.835 GB, free: 66.81 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.002006/8.131, allocations: 6.182 MB / 3.841 GB, free: 60.28 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.505e-05/8.131, allocations: 14.28 kB / 3.841 GB, free: 60.28 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/8.132, allocations: 484.8 kB / 3.842 GB, free: 60.14 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/8.133, allocations: 238.6 kB / 3.842 GB, free: 60.14 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/8.137, allocations: 2.6 MB / 3.845 GB, free: 58.21 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/8.14, allocations: 181.6 kB / 3.845 GB, free: 58.14 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/8.14, allocations: 118.4 kB / 3.845 GB, free: 58.13 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/8.14, allocations: 3.25 kB / 3.845 GB, free: 58.13 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004274/8.144, allocations: 1.763 MB / 3.847 GB, free: 57.61 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-05/8.144, allocations: 14.91 kB / 3.847 GB, free: 57.61 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/8.146, allocations: 0.5732 MB / 3.847 GB, free: 57.45 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/8.147, allocations: 222.1 kB / 3.847 GB, free: 57.43 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/8.158, allocations: 7.952 MB / 3.855 GB, free: 52.72 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/8.161, allocations: 151.5 kB / 3.855 GB, free: 52.68 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000484/8.162, allocations: 95.89 kB / 3.855 GB, free: 52.67 MB / 0.7138 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008263/8.163, allocations: 155.3 kB / 3.856 GB, free: 52.53 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/8.164, allocations: 246.2 kB / 3.856 GB, free: 52.39 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005026/8.169, allocations: 1.678 MB / 3.857 GB, free: 51.89 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/8.169, allocations: 11.53 kB / 3.857 GB, free: 51.89 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/8.169, allocations: 6.188 kB / 3.857 GB, free: 51.89 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002232/8.171, allocations: 1.362 MB / 3.859 GB, free: 51.19 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009705/8.181, allocations: 3.627 MB / 3.862 GB, free: 49.57 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/8.181, allocations: 2.812 kB / 3.862 GB, free: 49.57 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/8.182, allocations: 127.2 kB / 3.862 GB, free: 49.56 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005822/8.182, allocations: 252.6 kB / 3.863 GB, free: 49.47 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/8.182, allocations: 14.39 kB / 3.863 GB, free: 49.47 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/8.184, allocations: 2.042 MB / 3.865 GB, free: 47.73 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/8.184, allocations: 0 / 3.865 GB, free: 47.73 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004333/8.188, allocations: 2.105 MB / 3.867 GB, free: 46.78 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/8.19, allocations: 0.5729 MB / 3.867 GB, free: 46.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009107/8.191, allocations: 2.438 kB / 3.867 GB, free: 46.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/8.193, allocations: 91.89 kB / 3.867 GB, free: 46.39 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/8.193, allocations: 55.3 kB / 3.867 GB, free: 46.38 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/8.193, allocations: 44.72 kB / 3.868 GB, free: 46.38 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.004598/8.198, allocations: 2.098 MB / 3.87 GB, free: 45.48 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.007168/8.205, allocations: 1.313 MB / 3.871 GB, free: 45.22 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00351/8.208, allocations: 1.33 MB / 3.872 GB, free: 44.86 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.00504/8.213, allocations: 2.421 MB / 3.875 GB, free: 43.9 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/8.213, allocations: 5.234 kB / 3.875 GB, free: 43.9 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0009894/8.214, allocations: 492 kB / 3.875 GB, free: 43.74 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006737/8.221, allocations: 1.135 MB / 3.876 GB, free: 43.53 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/8.234, allocations: 3.352 MB / 3.879 GB, free: 42.25 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003387/8.237, allocations: 2.068 MB / 3.881 GB, free: 41.35 MB / 0.7138 GB Notification: Performance of SimCode: time 1.323e-06/8.237, allocations: 0 / 3.881 GB, free: 41.35 MB / 0.7138 GB Notification: Performance of Templates: time 0.5253/8.762, allocations: 67.38 MB / 3.947 GB, free: 139 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)