Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 189.9 kB / 7.804 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.448/0.448, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 221.4 MB / 342.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009727/0.000973, allocations: 101.8 kB / 415.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.785e-06, allocations: 0 / 493.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4035, allocations: 72.3 MB / 0.5529 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.382/3.785, allocations: 1.881 GB / 2.433 GB, free: 182.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/3.786, allocations: 88.48 kB / 2.433 GB, free: 182.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.276/6.061, allocations: 0.8012 GB / 3.235 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001486/6.061, allocations: 26.81 kB / 3.235 GB, free: 54.33 MB / 0.6042 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.004045/6.065, allocations: 1.216 MB / 3.236 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/6.065, allocations: 12.03 kB / 3.236 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/6.068, allocations: 270.6 kB / 3.236 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/6.07, allocations: 0.8071 MB / 3.237 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/6.07, allocations: 16 kB / 3.237 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/6.071, allocations: 39.89 kB / 3.237 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001023/6.072, allocations: 0.5682 MB / 3.238 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/6.073, allocations: 0.5393 MB / 3.238 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/6.073, allocations: 0 / 3.238 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/6.073, allocations: 0 / 3.238 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/6.073, allocations: 12 kB / 3.238 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/6.077, allocations: 2.646 MB / 3.241 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/6.077, allocations: 489.3 kB / 3.241 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/6.078, allocations: 339.6 kB / 3.242 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/6.078, allocations: 0.6357 MB / 3.242 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/6.078, allocations: 38.94 kB / 3.242 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.184e-06/6.078, allocations: 0 / 3.242 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.002629/6.081, allocations: 0.9464 MB / 3.243 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/6.081, allocations: 55.41 kB / 3.243 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/6.082, allocations: 467.8 kB / 3.244 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/6.082, allocations: 25.7 kB / 3.244 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/6.082, allocations: 244.7 kB / 3.244 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/6.082, allocations: 145.7 kB / 3.244 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/6.082, allocations: 0 / 3.244 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/6.082, allocations: 378.8 kB / 3.244 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/6.082, allocations: 236.8 kB / 3.245 GB, free: 43.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/6.083, allocations: 347.5 kB / 3.245 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/6.083, allocations: 360.4 kB / 3.245 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/6.083, allocations: 3.906 kB / 3.245 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001399/6.085, allocations: 0.8018 MB / 3.246 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/6.085, allocations: 276.7 kB / 3.246 GB, free: 42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/6.085, allocations: 0 / 3.246 GB, free: 42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/6.085, allocations: 56.84 kB / 3.246 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/6.086, allocations: 103.8 kB / 3.246 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004375/6.086, allocations: 0.6497 MB / 3.247 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/6.087, allocations: 79.69 kB / 3.247 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.752e-05/6.087, allocations: 27.97 kB / 3.247 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/6.087, allocations: 7.281 kB / 3.247 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/6.088, allocations: 0.6619 MB / 3.248 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/6.088, allocations: 0 / 3.248 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/6.088, allocations: 68.81 kB / 3.248 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/6.089, allocations: 95.86 kB / 3.248 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/6.09, allocations: 1.625 MB / 3.25 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/6.091, allocations: 75.67 kB / 3.25 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/6.091, allocations: 23.98 kB / 3.25 GB, free: 38.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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.0001536/6.091, allocations: 113.8 kB / 3.25 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/6.092, allocations: 82.22 kB / 3.25 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/6.093, allocations: 0.8397 MB / 3.251 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/6.093, allocations: 4 kB / 3.251 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/6.093, allocations: 0 / 3.251 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/6.093, allocations: 0 / 3.251 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/6.096, allocations: 1.679 MB / 3.252 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/6.096, allocations: 4.406 kB / 3.252 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/6.097, allocations: 99.88 kB / 3.252 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/6.097, allocations: 48.78 kB / 3.253 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/6.097, allocations: 8 kB / 3.253 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000307/6.097, allocations: 0.6099 MB / 3.253 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/6.097, allocations: 7.938 kB / 3.253 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001533/6.099, allocations: 1.311 MB / 3.254 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/6.099, allocations: 208 kB / 3.255 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/6.099, allocations: 8 kB / 3.255 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008632/6.1, allocations: 83.81 kB / 3.255 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/6.1, allocations: 39.95 kB / 3.255 GB, free: 33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/6.1, allocations: 18.72 kB / 3.255 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004147/6.101, allocations: 363.2 kB / 3.255 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001765/6.102, allocations: 0.5265 MB / 3.256 GB, free: 32.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 44 * 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.002802/6.105, allocations: 2.387 MB / 3.258 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001704/6.107, allocations: 0.9645 MB / 3.259 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/6.107, allocations: 0 / 3.259 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004845/6.107, allocations: 287.6 kB / 3.259 GB, free: 28.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/6.11, allocations: 451.9 kB / 3.26 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/6.116, allocations: 1.541 MB / 3.261 GB, free: 26.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007574/6.117, allocations: 1.061 MB / 3.262 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of SimCode: time 2.184e-06/6.117, allocations: 0 / 3.262 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.04291/6.16, allocations: 30.26 MB / 3.292 GB, free: 11.53 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)