Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter.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.Examples.MoverParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter") translateModel(BuildingSystems.Fluid.Movers.Examples.MoverParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter") [: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.7518/0.7518, allocations: 141.8 MB / 149.1 MB, free: 13.14 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 188 kB / 181.9 MB, free: 9.832 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.4/1.4, allocations: 221.3 MB / 436 MB, free: 2.34 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.001009/0.001009, allocations: 103.2 kB / 0.507 GB, free: 11.05 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 272.6 kB / 0.5885 GB, free: 7.883 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.825e-06/7.865e-06, allocations: 4 kB / 0.6759 GB, free: 14.25 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4478, allocations: 82.77 MB / 0.7567 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.72/1.168, allocations: 399.1 MB / 1.146 GB, free: 2.66 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/1.168, allocations: 94.3 kB / 1.147 GB, free: 2.617 MB / 0.6825 GB Notification: Performance of FrontEnd: time 5.796/6.964, allocations: 1.452 GB / 2.599 GB, free: 55.85 MB / 0.7763 GB Notification: Performance of Transformations before backend: time 0.001056/6.965, allocations: 102.9 kB / 2.599 GB, free: 55.84 MB / 0.7763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 478 * Number of variables: 478 Notification: Performance of Generate backend data structure: time 0.01492/6.98, allocations: 3.819 MB / 2.603 GB, free: 54.27 MB / 0.7763 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/6.98, allocations: 15.09 kB / 2.603 GB, free: 54.27 MB / 0.7763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008597/6.989, allocations: 1.252 MB / 2.604 GB, free: 54 MB / 0.7763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08253/7.071, allocations: 31.69 MB / 2.635 GB, free: 52.22 MB / 0.7763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/7.072, allocations: 60.78 kB / 2.635 GB, free: 52.22 MB / 0.7763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/7.073, allocations: 132.5 kB / 2.635 GB, free: 52.22 MB / 0.7763 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005437/7.078, allocations: 2.136 MB / 2.637 GB, free: 52.21 MB / 0.7763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007201/7.086, allocations: 2.362 MB / 2.639 GB, free: 51.9 MB / 0.7763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.813e-05/7.086, allocations: 5.5 kB / 2.639 GB, free: 51.9 MB / 0.7763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/7.086, allocations: 7.844 kB / 2.639 GB, free: 51.89 MB / 0.7763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/7.086, allocations: 44.72 kB / 2.639 GB, free: 51.89 MB / 0.7763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02391/7.11, allocations: 12.61 MB / 2.652 GB, free: 47.24 MB / 0.7763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/7.112, allocations: 1.79 MB / 2.653 GB, free: 47.21 MB / 0.7763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/7.113, allocations: 0.874 MB / 2.654 GB, free: 47.2 MB / 0.7763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/7.124, allocations: 5.62 MB / 2.66 GB, free: 45.3 MB / 0.7763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/7.125, allocations: 43.25 kB / 2.66 GB, free: 45.26 MB / 0.7763 GB Notification: Performance of pre-optimization done (n=73): time 5.22e-06/7.125, allocations: 0 / 2.66 GB, free: 45.26 MB / 0.7763 GB Notification: Performance of matching and sorting (n=73): time 0.006949/7.132, allocations: 2.494 MB / 2.662 GB, free: 44.96 MB / 0.7763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/7.132, allocations: 62.12 kB / 2.662 GB, free: 44.9 MB / 0.7763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/7.144, allocations: 4.711 MB / 2.667 GB, free: 44.57 MB / 0.7763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006507/7.144, allocations: 32.52 kB / 2.667 GB, free: 44.54 MB / 0.7763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/7.146, allocations: 1.172 MB / 2.668 GB, free: 43.99 MB / 0.7763 GB Notification: Performance of collectInitialBindings (initialization): time 0.000636/7.146, allocations: 252.2 kB / 2.668 GB, free: 43.83 MB / 0.7763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/7.146, allocations: 3.406 kB / 2.668 GB, free: 43.83 MB / 0.7763 GB Notification: Performance of setup shared object (initialization): time 0.0001329/7.147, allocations: 376.7 kB / 2.669 GB, free: 43.53 MB / 0.7763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/7.148, allocations: 1.01 MB / 2.67 GB, free: 43.52 MB / 0.7763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/7.15, allocations: 2.056 MB / 2.672 GB, free: 42.18 MB / 0.7763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003585/7.153, allocations: 1.469 MB / 2.673 GB, free: 42.15 MB / 0.7763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/7.153, allocations: 7.625 kB / 2.673 GB, free: 42.15 MB / 0.7763 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008663/7.162, allocations: 3.626 MB / 2.677 GB, free: 41.85 MB / 0.7763 GB Notification: Performance of prepare postOptimizeDAE: time 0.003387/7.166, allocations: 14.26 MB / 2.691 GB, free: 27.02 MB / 0.7763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-05/7.166, allocations: 33.53 kB / 2.691 GB, free: 27.02 MB / 0.7763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008497/7.166, allocations: 299.4 kB / 2.691 GB, free: 26.99 MB / 0.7763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/7.17, allocations: 0.5355 MB / 2.691 GB, free: 26.99 MB / 0.7763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004948/7.175, allocations: 6.088 MB / 2.697 GB, free: 22.57 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/7.179, allocations: 294.7 kB / 2.698 GB, free: 22.44 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006471/7.18, allocations: 212.4 kB / 2.698 GB, free: 22.44 MB / 0.7763 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/7.18, allocations: 3.438 kB / 2.698 GB, free: 22.44 MB / 0.7763 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008488/7.188, allocations: 2.812 MB / 2.701 GB, free: 22.39 MB / 0.7763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/7.189, allocations: 33.94 kB / 2.701 GB, free: 22.39 MB / 0.7763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007789/7.189, allocations: 305.8 kB / 2.701 GB, free: 22.36 MB / 0.7763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/7.192, allocations: 0.5765 MB / 2.702 GB, free: 22.36 MB / 0.7763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/7.195, allocations: 2.548 MB / 2.704 GB, free: 36.28 MB / 0.7919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005329/7.2, allocations: 219.9 kB / 2.704 GB, free: 36.2 MB / 0.7919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005832/7.201, allocations: 209.2 kB / 2.704 GB, free: 36.2 MB / 0.7919 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.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: 139 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 200 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00116/7.202, allocations: 201 kB / 2.705 GB, free: 36.07 MB / 0.7919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/7.203, allocations: 392.3 kB / 2.705 GB, free: 35.85 MB / 0.7919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/7.212, allocations: 2.637 MB / 2.708 GB, free: 35.68 MB / 0.7919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/7.212, allocations: 10.62 kB / 2.708 GB, free: 35.68 MB / 0.7919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/7.212, allocations: 0 / 2.708 GB, free: 35.68 MB / 0.7919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/7.212, allocations: 8.391 kB / 2.708 GB, free: 35.68 MB / 0.7919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/7.227, allocations: 5.315 MB / 2.713 GB, free: 35.23 MB / 0.7919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/7.227, allocations: 3.125 kB / 2.713 GB, free: 35.23 MB / 0.7919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/7.228, allocations: 182.6 kB / 2.713 GB, free: 35.23 MB / 0.7919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009082/7.229, allocations: 369.2 kB / 2.713 GB, free: 35.18 MB / 0.7919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/7.229, allocations: 30.3 kB / 2.713 GB, free: 35.18 MB / 0.7919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004062/7.233, allocations: 5.066 MB / 2.718 GB, free: 30.89 MB / 0.7919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/7.233, allocations: 1.312 kB / 2.718 GB, free: 30.89 MB / 0.7919 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005763/7.239, allocations: 2.314 MB / 2.721 GB, free: 30.25 MB / 0.7919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002984/7.242, allocations: 0.8893 MB / 2.721 GB, free: 29.93 MB / 0.7919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/7.244, allocations: 3.703 kB / 2.721 GB, free: 29.93 MB / 0.7919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003039/7.247, allocations: 119.1 kB / 2.722 GB, free: 29.92 MB / 0.7919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/7.247, allocations: 66.31 kB / 2.722 GB, free: 29.92 MB / 0.7919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/7.247, allocations: 77.47 kB / 2.722 GB, free: 29.92 MB / 0.7919 GB Notification: Performance of sort global known variables: time 0.008761/7.256, allocations: 3.506 MB / 2.725 GB, free: 29.74 MB / 0.7919 GB Notification: Performance of remove unused functions: time 0.01102/7.267, allocations: 1.838 MB / 2.727 GB, free: 29.48 MB / 0.7919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 3,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004478/7.271, allocations: 2.015 MB / 2.729 GB, free: 28.95 MB / 0.7919 GB Notification: Performance of simCode: created initialization part: time 0.009056/7.28, allocations: 3.876 MB / 2.733 GB, free: 28.89 MB / 0.7919 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/7.281, allocations: 0 / 2.733 GB, free: 28.89 MB / 0.7919 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/7.282, allocations: 0.7365 MB / 2.733 GB, free: 28.89 MB / 0.7919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/7.292, allocations: 1.81 MB / 2.735 GB, free: 28.86 MB / 0.7919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/7.313, allocations: 5.509 MB / 2.741 GB, free: 27.56 MB / 0.7919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007034/7.32, allocations: 2.968 MB / 2.743 GB, free: 26.78 MB / 0.7919 GB Notification: Performance of SimCode: time 1.422e-06/7.32, allocations: 1.031 kB / 2.743 GB, free: 26.78 MB / 0.7919 GB Notification: Performance of Templates: time 0.1822/7.503, allocations: 101.9 MB / 2.843 GB, free: 9.422 MB / 0.7919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverParameter.pipe 2>&1)