Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 94.66 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 266.7 kB / 291.3 MB, free: 1.754 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9797/0.9797, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004584, allocations: 15.59 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.222, allocations: 88.54 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.7307/0.9527, allocations: 218.8 MB / 0.8982 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.9645, allocations: 6.8 MB / 0.9048 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.9663, allocations: 47.69 kB / 0.9048 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.9676, allocations: 345.6 kB / 0.9052 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003111/0.9707, allocations: 1.008 MB / 0.9062 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003736/0.9744, allocations: 1.246 MB / 0.9074 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003224/0.9777, allocations: 2.353 MB / 0.9097 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.9787, allocations: 0.6401 MB / 0.9103 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.9817, allocations: 1.159 MB / 0.9114 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.9827, allocations: 0.6498 MB / 0.9121 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.9828, allocations: 44 kB / 0.9121 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.9855, allocations: 1.08 MB / 0.9132 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.9858, allocations: 263.1 kB / 0.9134 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.9862, allocations: 193.3 kB / 0.9136 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.9877, allocations: 1.153 MB / 0.9147 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.9878, allocations: 0 / 0.9147 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9878, allocations: 0 / 0.9147 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.9878, allocations: 0 / 0.9147 GB, free: 4.402 MB / 0.6231 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.002047/0.9898, allocations: 1.164 MB / 0.9159 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.9899, allocations: 8.031 kB / 0.9159 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.9915, allocations: 278.6 kB / 0.9161 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.9926, allocations: 0.6327 MB / 0.9167 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.9926, allocations: 37 kB / 0.9168 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.9927, allocations: 52 kB / 0.9168 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.9938, allocations: 0.6232 MB / 0.9174 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.9939, allocations: 0 / 0.9174 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/0.9939, allocations: 23.95 kB / 0.9175 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.9939, allocations: 12 kB / 0.9175 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.995, allocations: 0.6246 MB / 0.9181 GB, free: 0.8555 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.9987, allocations: 2.635 MB / 0.9207 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/0.9997, allocations: 495.8 kB / 0.9211 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/1, allocations: 317.4 kB / 0.9214 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006838/1.001, allocations: 420.7 kB / 0.9218 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.001, allocations: 42.56 kB / 0.9219 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007014/1.002, allocations: 187.4 kB / 0.9221 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 5.25e-06/1.002, allocations: 0 / 0.9221 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002586/1.004, allocations: 1.131 MB / 0.9232 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/1.004, allocations: 59.41 kB / 0.9232 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/1.005, allocations: 0.6452 MB / 0.9238 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/1.005, allocations: 37.7 kB / 0.9239 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/1.005, allocations: 341.1 kB / 0.9242 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/1.006, allocations: 157.7 kB / 0.9244 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/1.006, allocations: 4 kB / 0.9244 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.006, allocations: 329.9 kB / 0.9247 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/1.006, allocations: 228.7 kB / 0.9249 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/1.007, allocations: 324.4 kB / 0.9252 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/1.007, allocations: 260.7 kB / 0.9254 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.007, allocations: 0 / 0.9254 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001426/1.009, allocations: 0.7183 MB / 0.9262 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.698e-05/1.009, allocations: 108.5 kB / 0.9263 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.009, allocations: 4 kB / 0.9263 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/1.009, allocations: 96.7 kB / 0.9264 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/1.01, allocations: 96.61 kB / 0.9264 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005138/1.01, allocations: 0.6148 MB / 0.927 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/1.011, allocations: 67.97 kB / 0.9271 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/1.011, allocations: 27.98 kB / 0.9271 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.011, allocations: 4 kB / 0.9271 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/1.012, allocations: 0.5888 MB / 0.9277 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/1.012, allocations: 0 / 0.9277 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/1.012, allocations: 68.75 kB / 0.9278 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/1.013, allocations: 97.05 kB / 0.9279 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/1.014, allocations: 1.698 MB / 0.9295 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/1.015, allocations: 64.03 kB / 0.9296 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/1.015, allocations: 19.98 kB / 0.9296 GB, free: 4.445 MB / 0.6387 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 () * Number of clocked 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.0003699/1.015, allocations: 297.6 kB / 0.9299 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/1.015, allocations: 83.05 kB / 0.93 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/1.017, allocations: 0.7681 MB / 0.9307 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.017, allocations: 4 kB / 0.9307 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/1.017, allocations: 0 / 0.9307 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/1.017, allocations: 0 / 0.9307 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/1.019, allocations: 1.695 MB / 0.9324 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.02, allocations: 4 kB / 0.9324 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/1.02, allocations: 88.3 kB / 0.9325 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/1.02, allocations: 60.83 kB / 0.9325 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/1.02, allocations: 19.98 kB / 0.9325 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000435/1.021, allocations: 0.6148 MB / 0.9331 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.021, allocations: 4 kB / 0.9332 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/1.022, allocations: 1.199 MB / 0.9343 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/1.023, allocations: 208.1 kB / 0.9345 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/1.023, allocations: 12 kB / 0.9345 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/1.024, allocations: 67.78 kB / 0.9346 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.024, allocations: 51.84 kB / 0.9346 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/1.024, allocations: 12 kB / 0.9347 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006066/1.024, allocations: 467 kB / 0.9351 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.024, allocations: 0 / 0.9351 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001235/1.026, allocations: 379.3 kB / 0.9355 GB, free: 14.23 MB / 0.6544 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0005606/1.026, allocations: 233.6 kB / 0.9357 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001854/1.028, allocations: 0.9793 MB / 0.9366 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.028, allocations: 4 kB / 0.9366 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/1.029, allocations: 316.5 kB / 0.937 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/1.031, allocations: 462.6 kB / 0.9374 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/1.036, allocations: 2.085 MB / 0.9394 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/1.037, allocations: 0.9659 MB / 0.9404 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001025/1.038, allocations: 221.9 kB / 0.9406 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/1.038, allocations: 67.41 kB / 0.9406 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of SimCode: time 9.51e-07/1.038, allocations: 0 / 0.9406 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of Templates: time 0.02756/1.066, allocations: 15.38 MB / 0.9557 GB, free: 9.688 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)