Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries") [: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.7576/0.7576, allocations: 141.8 MB / 149.1 MB, free: 2.023 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.001131/0.001131, allocations: 185.2 kB / 182 MB, free: 1.57 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.364/1.364, allocations: 221.3 MB / 436 MB, free: 6.305 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.001105/0.001104, allocations: 88.61 kB / 0.507 GB, free: 2.973 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 271 kB / 0.5885 GB, free: 47.95 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 8.916e-06/8.966e-06, allocations: 4 kB / 0.6759 GB, free: 6.305 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4386, allocations: 82.77 MB / 0.7567 GB, free: 25.46 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.188/4.627, allocations: 1.828 GB / 2.584 GB, free: 191.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/4.627, allocations: 83.89 kB / 2.584 GB, free: 191.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.319/7.945, allocations: 0.9665 GB / 3.551 GB, free: 9.082 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001628/7.946, allocations: 23.98 kB / 3.551 GB, free: 9.059 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002878/7.949, allocations: 1.079 MB / 3.552 GB, free: 7.934 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/7.949, allocations: 8.031 kB / 3.552 GB, free: 7.926 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/7.95, allocations: 186.5 kB / 3.552 GB, free: 7.742 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/7.953, allocations: 1.088 MB / 3.553 GB, free: 6.609 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/7.953, allocations: 20 kB / 3.553 GB, free: 6.59 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/7.953, allocations: 36 kB / 3.553 GB, free: 6.555 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008099/7.954, allocations: 497.7 kB / 3.554 GB, free: 6.066 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/7.955, allocations: 0.5824 MB / 3.554 GB, free: 5.469 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/7.955, allocations: 0 / 3.554 GB, free: 5.469 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/7.955, allocations: 3.906 kB / 3.554 GB, free: 5.465 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/7.955, allocations: 12 kB / 3.554 GB, free: 5.453 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004524/7.959, allocations: 3.324 MB / 3.557 GB, free: 1.777 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/7.96, allocations: 434.7 kB / 3.558 GB, free: 1.344 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/7.96, allocations: 246.8 kB / 3.558 GB, free: 1.102 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/7.96, allocations: 198.4 kB / 3.558 GB, free: 0.8711 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/7.961, allocations: 34.8 kB / 3.558 GB, free: 0.8281 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=28): time 2.996e-06/7.961, allocations: 0 / 3.558 GB, free: 0.8281 MB / 0.6982 GB Notification: Performance of matching and sorting (n=28): time 0.002099/7.963, allocations: 0.766 MB / 3.559 GB, free: 56 kB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3744/8.337, allocations: 56.12 kB / 3.559 GB, free: 238.7 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/8.338, allocations: 0.7854 MB / 3.56 GB, free: 238.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/8.339, allocations: 33.33 kB / 3.56 GB, free: 238.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/8.339, allocations: 281.8 kB / 3.56 GB, free: 238.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/8.339, allocations: 95.67 kB / 3.56 GB, free: 238.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/8.339, allocations: 0 / 3.56 GB, free: 238.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/8.339, allocations: 316.6 kB / 3.561 GB, free: 238.2 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/8.339, allocations: 148.3 kB / 3.561 GB, free: 238.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/8.34, allocations: 346.4 kB / 3.561 GB, free: 238 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/8.34, allocations: 193.4 kB / 3.561 GB, free: 238 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/8.34, allocations: 0 / 3.561 GB, free: 238 MB / 0.6982 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001486/8.341, allocations: 0.7347 MB / 3.562 GB, free: 237.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/8.341, allocations: 360.8 kB / 3.562 GB, free: 237.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/8.341, allocations: 0 / 3.562 GB, free: 237.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/8.342, allocations: 227.6 kB / 3.563 GB, free: 237.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/8.342, allocations: 27.34 kB / 3.563 GB, free: 237.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000994/8.343, allocations: 1.134 MB / 3.564 GB, free: 237 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/8.344, allocations: 63.34 kB / 3.564 GB, free: 237 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/8.344, allocations: 14.5 kB / 3.564 GB, free: 237 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/8.344, allocations: 3.25 kB / 3.564 GB, free: 237 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008492/8.345, allocations: 455.2 kB / 3.564 GB, free: 237 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/8.345, allocations: 0 / 3.564 GB, free: 237 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005096/8.345, allocations: 205.8 kB / 3.564 GB, free: 237 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/8.345, allocations: 21.39 kB / 3.564 GB, free: 237 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/8.349, allocations: 2.768 MB / 3.567 GB, free: 235.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007389/8.349, allocations: 66.16 kB / 3.567 GB, free: 235.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/8.349, allocations: 15.48 kB / 3.567 GB, free: 235.6 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001432/8.35, allocations: 104.9 kB / 3.567 GB, free: 235.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/8.35, allocations: 95.69 kB / 3.567 GB, free: 235.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/8.351, allocations: 0.6661 MB / 3.568 GB, free: 235.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/8.351, allocations: 0 / 3.568 GB, free: 235.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/8.351, allocations: 0 / 3.568 GB, free: 235.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/8.351, allocations: 3.906 kB / 3.568 GB, free: 235.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/8.353, allocations: 1.384 MB / 3.569 GB, free: 235.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/8.353, allocations: 10.89 kB / 3.569 GB, free: 235.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/8.353, allocations: 29.19 kB / 3.569 GB, free: 235.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003223/8.354, allocations: 185.2 kB / 3.57 GB, free: 235.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/8.354, allocations: 3.938 kB / 3.57 GB, free: 235.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008025/8.354, allocations: 1.018 MB / 3.571 GB, free: 234.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/8.354, allocations: 3.844 kB / 3.571 GB, free: 234.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008973/8.355, allocations: 0.8282 MB / 3.571 GB, free: 234.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/8.356, allocations: 206.4 kB / 3.572 GB, free: 234 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/8.356, allocations: 3.969 kB / 3.572 GB, free: 234 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/8.356, allocations: 58.11 kB / 3.572 GB, free: 234 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/8.356, allocations: 17.16 kB / 3.572 GB, free: 234 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/8.356, allocations: 18.44 kB / 3.572 GB, free: 234 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007121/8.357, allocations: 0.6241 MB / 3.572 GB, free: 233.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001425/8.359, allocations: 453.8 kB / 3.573 GB, free: 233.9 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/8.36, allocations: 1.044 MB / 3.574 GB, free: 233.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001234/8.361, allocations: 0.6771 MB / 3.574 GB, free: 233.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/8.361, allocations: 0 / 3.574 GB, free: 233.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/8.362, allocations: 191.7 kB / 3.575 GB, free: 233.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/8.363, allocations: 361.6 kB / 3.575 GB, free: 233.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/8.366, allocations: 1.352 MB / 3.576 GB, free: 233.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007106/8.367, allocations: 1.247 MB / 3.578 GB, free: 232.6 MB / 0.6982 GB Notification: Performance of SimCode: time 1.042e-06/8.367, allocations: 0 / 3.578 GB, free: 232.6 MB / 0.6982 GB Notification: Performance of Templates: time 0.03894/8.405, allocations: 21.84 MB / 3.599 GB, free: 232.3 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)