Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear") [: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/BuildSysPro 3.5.0/package.mo): time 0.7638/0.7638, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 185.3 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009932/0.0009929, allocations: 98.08 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.003e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1741, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.316, allocations: 400.1 MB / 1.012 GB, free: 80.12 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/1.316, allocations: 99.42 kB / 1.012 GB, free: 80.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.983/4.299, allocations: 0.7417 GB / 1.753 GB, free: 70.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004907/4.299, allocations: 49.45 kB / 1.754 GB, free: 70.54 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.007955/4.307, allocations: 1.979 MB / 1.755 GB, free: 69.48 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/4.307, allocations: 11.09 kB / 1.755 GB, free: 69.48 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/4.312, allocations: 0.6847 MB / 1.756 GB, free: 69.36 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03898/4.351, allocations: 13.71 MB / 1.77 GB, free: 68.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/4.352, allocations: 34.66 kB / 1.77 GB, free: 68.39 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007661/4.352, allocations: 76.95 kB / 1.77 GB, free: 68.38 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003012/4.356, allocations: 0.862 MB / 1.77 GB, free: 68.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/4.359, allocations: 1.073 MB / 1.772 GB, free: 68.17 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/4.359, allocations: 3.938 kB / 1.772 GB, free: 68.17 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/4.359, allocations: 3.469 kB / 1.772 GB, free: 68.17 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/4.359, allocations: 24.34 kB / 1.772 GB, free: 68.17 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/4.371, allocations: 6.042 MB / 1.777 GB, free: 64.72 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/4.372, allocations: 0.674 MB / 1.778 GB, free: 64.69 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/4.373, allocations: 313.1 kB / 1.778 GB, free: 64.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004787/4.378, allocations: 2.129 MB / 1.781 GB, free: 63.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/4.378, allocations: 41.73 kB / 1.781 GB, free: 63.56 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=51): time 2.505e-06/4.378, allocations: 3.75 kB / 1.781 GB, free: 63.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=51): time 0.003479/4.381, allocations: 0.9493 MB / 1.781 GB, free: 63.41 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/4.381, allocations: 66.77 kB / 1.782 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/4.384, allocations: 1.221 MB / 1.783 GB, free: 63.17 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/4.384, allocations: 25.7 kB / 1.783 GB, free: 63.14 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/4.385, allocations: 0.5773 MB / 1.783 GB, free: 62.82 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/4.385, allocations: 167.1 kB / 1.783 GB, free: 62.71 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/4.385, allocations: 0 / 1.783 GB, free: 62.71 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001137/4.385, allocations: 345.5 kB / 1.784 GB, free: 62.41 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/4.386, allocations: 305.4 kB / 1.784 GB, free: 62.41 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/4.387, allocations: 0.7217 MB / 1.785 GB, free: 61.79 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/4.389, allocations: 0.5255 MB / 1.785 GB, free: 61.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/4.389, allocations: 7.812 kB / 1.785 GB, free: 61.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00428/4.393, allocations: 1.352 MB / 1.787 GB, free: 61.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001259/4.394, allocations: 4.5 MB / 1.791 GB, free: 56.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.532e-05/4.394, allocations: 10.47 kB / 1.791 GB, free: 56.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007481/4.395, allocations: 219.9 kB / 1.791 GB, free: 56.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/4.396, allocations: 210.6 kB / 1.791 GB, free: 56.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/4.398, allocations: 1.902 MB / 1.793 GB, free: 54.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/4.399, allocations: 138.6 kB / 1.793 GB, free: 54.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/4.4, allocations: 73.86 kB / 1.794 GB, free: 54.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/4.4, allocations: 6 kB / 1.794 GB, free: 54.52 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003732/4.403, allocations: 1.078 MB / 1.795 GB, free: 54.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/4.404, allocations: 12.31 kB / 1.795 GB, free: 54.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/4.404, allocations: 209.5 kB / 1.795 GB, free: 54.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/4.405, allocations: 204.6 kB / 1.795 GB, free: 54.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/4.41, allocations: 3.712 MB / 1.799 GB, free: 51.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/4.412, allocations: 109.2 kB / 1.799 GB, free: 51.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/4.413, allocations: 70.81 kB / 1.799 GB, free: 51.11 MB / 0.6667 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.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: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 96 * 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 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005944/4.413, allocations: 143.3 kB / 1.799 GB, free: 50.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006758/4.414, allocations: 160.1 kB / 1.799 GB, free: 50.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/4.418, allocations: 1.17 MB / 1.8 GB, free: 50.49 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/4.418, allocations: 3.469 kB / 1.8 GB, free: 50.49 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/4.418, allocations: 3.938 kB / 1.8 GB, free: 50.49 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/4.418, allocations: 7.109 kB / 1.8 GB, free: 50.49 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/4.422, allocations: 0.9881 MB / 1.801 GB, free: 50.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/4.422, allocations: 0 / 1.801 GB, free: 50.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/4.422, allocations: 105.2 kB / 1.801 GB, free: 50.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004949/4.423, allocations: 178.3 kB / 1.801 GB, free: 49.96 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/4.423, allocations: 11.16 kB / 1.801 GB, free: 49.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/4.424, allocations: 1.834 MB / 1.803 GB, free: 48.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/4.424, allocations: 0 / 1.803 GB, free: 48.28 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002777/4.427, allocations: 0.9948 MB / 1.804 GB, free: 47.83 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/4.428, allocations: 329.2 kB / 1.805 GB, free: 47.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007329/4.429, allocations: 3.906 kB / 1.805 GB, free: 47.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/4.431, allocations: 67.5 kB / 1.805 GB, free: 47.58 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/4.431, allocations: 34.91 kB / 1.805 GB, free: 47.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/4.431, allocations: 28.84 kB / 1.805 GB, free: 47.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002853/4.434, allocations: 0.94 MB / 1.806 GB, free: 47.18 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007186/4.441, allocations: 0.9774 MB / 1.807 GB, free: 46.93 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * 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: 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 3,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005253/4.446, allocations: 1.381 MB / 1.808 GB, free: 46.53 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004872/4.451, allocations: 1.442 MB / 1.809 GB, free: 45.99 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/4.451, allocations: 0 / 1.809 GB, free: 45.99 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/4.453, allocations: 329.3 kB / 1.81 GB, free: 45.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006284/4.459, allocations: 0.6358 MB / 1.81 GB, free: 45.74 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/4.47, allocations: 2.038 MB / 1.812 GB, free: 44.93 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00356/4.474, allocations: 1.549 MB / 1.814 GB, free: 44.15 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/4.474, allocations: 0 / 1.814 GB, free: 44.15 MB / 0.6667 GB Notification: Performance of Templates: time 0.1089/4.583, allocations: 41.79 MB / 1.855 GB, free: 20.46 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)