Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") [: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.7198/0.7198, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001343/0.001343, allocations: 173.3 kB / 164.4 MB, free: 6.883 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.754/1.754, allocations: 205.1 MB / 399.1 MB, free: 6.164 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.001314/0.001314, allocations: 90.61 kB / 476.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.044e-05, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.193, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.049/5.242, allocations: 2.158 GB / 2.779 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/5.242, allocations: 87.95 kB / 2.779 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.086/8.328, allocations: 0.7828 GB / 3.562 GB, free: 86.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.69e-05/8.328, allocations: 25.53 kB / 3.562 GB, free: 86.73 MB / 0.6511 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.003145/8.331, allocations: 1.214 MB / 3.563 GB, free: 86.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/8.331, allocations: 7.125 kB / 3.563 GB, free: 86.35 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/8.333, allocations: 274.5 kB / 3.564 GB, free: 86.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/8.335, allocations: 0.8126 MB / 3.565 GB, free: 86.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/8.335, allocations: 16.62 kB / 3.565 GB, free: 86.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/8.335, allocations: 34.03 kB / 3.565 GB, free: 86.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009968/8.336, allocations: 0.5775 MB / 3.565 GB, free: 86.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009734/8.337, allocations: 0.5379 MB / 3.566 GB, free: 86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/8.337, allocations: 0 / 3.566 GB, free: 86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/8.337, allocations: 0 / 3.566 GB, free: 86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/8.337, allocations: 13.62 kB / 3.566 GB, free: 85.99 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/8.341, allocations: 2.645 MB / 3.568 GB, free: 84.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/8.342, allocations: 0.4999 MB / 3.569 GB, free: 84.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/8.343, allocations: 329.8 kB / 3.569 GB, free: 84.74 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/8.343, allocations: 0.6382 MB / 3.57 GB, free: 84.08 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/8.343, allocations: 40.03 kB / 3.57 GB, free: 84.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/8.343, allocations: 0 / 3.57 GB, free: 84.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.007421/8.351, allocations: 1.548 MB / 3.571 GB, free: 83.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/8.351, allocations: 57.28 kB / 3.571 GB, free: 83.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/8.352, allocations: 451 kB / 3.572 GB, free: 83.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/8.352, allocations: 29.55 kB / 3.572 GB, free: 83.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/8.352, allocations: 237 kB / 3.572 GB, free: 83.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/8.352, allocations: 153.2 kB / 3.572 GB, free: 83.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/8.352, allocations: 7.297 kB / 3.572 GB, free: 83.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000123/8.352, allocations: 380.4 kB / 3.572 GB, free: 83.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/8.353, allocations: 251.2 kB / 3.573 GB, free: 83.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/8.353, allocations: 362.5 kB / 3.573 GB, free: 83.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/8.354, allocations: 369.9 kB / 3.573 GB, free: 83.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/8.354, allocations: 3.406 kB / 3.573 GB, free: 83.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.005707/8.36, allocations: 1.308 MB / 3.575 GB, free: 83.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.272e-05/8.36, allocations: 184.8 kB / 3.575 GB, free: 82.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/8.36, allocations: 0 / 3.575 GB, free: 82.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/8.36, allocations: 121.7 kB / 3.575 GB, free: 82.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/8.361, allocations: 99.33 kB / 3.575 GB, free: 82.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/8.362, allocations: 0.8196 MB / 3.576 GB, free: 82.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/8.363, allocations: 102.1 kB / 3.576 GB, free: 82.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/8.363, allocations: 23.59 kB / 3.576 GB, free: 82.31 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/8.363, allocations: 3.344 kB / 3.576 GB, free: 82.31 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/8.365, allocations: 0.6675 MB / 3.577 GB, free: 82.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/8.365, allocations: 0 / 3.577 GB, free: 82.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/8.365, allocations: 56.75 kB / 3.577 GB, free: 82.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/8.365, allocations: 100.9 kB / 3.577 GB, free: 82.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/8.367, allocations: 1.63 MB / 3.578 GB, free: 81.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/8.368, allocations: 69.23 kB / 3.578 GB, free: 81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/8.368, allocations: 28.94 kB / 3.578 GB, free: 81 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001972/8.368, allocations: 107.3 kB / 3.579 GB, free: 80.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/8.368, allocations: 69.5 kB / 3.579 GB, free: 80.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005221/8.373, allocations: 1.259 MB / 3.58 GB, free: 80.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/8.373, allocations: 7.562 kB / 3.58 GB, free: 80.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/8.373, allocations: 3.906 kB / 3.58 GB, free: 80.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/8.373, allocations: 7.328 kB / 3.58 GB, free: 80.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/8.38, allocations: 2.111 MB / 3.582 GB, free: 80.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/8.38, allocations: 3.062 kB / 3.582 GB, free: 80.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/8.381, allocations: 89.75 kB / 3.582 GB, free: 80.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002916/8.381, allocations: 123.8 kB / 3.582 GB, free: 80.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-05/8.381, allocations: 10.69 kB / 3.582 GB, free: 80.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008358/8.389, allocations: 2.713 MB / 3.585 GB, free: 79.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/8.389, allocations: 10.25 kB / 3.585 GB, free: 79.12 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005971/8.395, allocations: 1.824 MB / 3.587 GB, free: 78.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/8.396, allocations: 149.3 kB / 3.587 GB, free: 78.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/8.396, allocations: 6.5 kB / 3.587 GB, free: 78.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/8.397, allocations: 89.78 kB / 3.587 GB, free: 78.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/8.397, allocations: 29.8 kB / 3.587 GB, free: 78.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/8.397, allocations: 19.03 kB / 3.587 GB, free: 78.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005949/8.398, allocations: 358.1 kB / 3.587 GB, free: 78.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002809/8.401, allocations: 0.5457 MB / 3.588 GB, free: 78.39 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003981/8.405, allocations: 2.406 MB / 3.59 GB, free: 77.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00241/8.407, allocations: 1.072 MB / 3.591 GB, free: 77.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/8.407, allocations: 3.375 kB / 3.591 GB, free: 77.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/8.408, allocations: 486.2 kB / 3.592 GB, free: 77.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/8.411, allocations: 391.3 kB / 3.592 GB, free: 77.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006398/8.417, allocations: 1.619 MB / 3.594 GB, free: 77.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009/8.418, allocations: 1.044 MB / 3.595 GB, free: 76.39 MB / 0.6511 GB Notification: Performance of SimCode: time 1.372e-06/8.418, allocations: 0 / 3.595 GB, free: 76.39 MB / 0.6511 GB Notification: Performance of Templates: time 0.05078/8.469, allocations: 32.49 MB / 3.626 GB, free: 75.81 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)