Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009463/0.0009465, allocations: 176.4 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205 MB / 0.5766 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009664/0.0009666, allocations: 90.34 kB / 0.6804 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 10.03 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2292, allocations: 105.4 MB / 0.8967 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7275/0.9568, allocations: 237.8 MB / 1.129 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.9688, allocations: 7.335 MB / 1.136 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.9708, allocations: 46.91 kB / 1.136 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.9726, allocations: 0.5796 MB / 1.137 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.9784, allocations: 1.957 MB / 1.139 GB, free: 500 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005672/0.9841, allocations: 1.892 MB / 1.14 GB, free: 416 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006589/0.9907, allocations: 4.487 MB / 1.145 GB, free: 412 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.9929, allocations: 0.9225 MB / 1.146 GB, free: 248 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005064/0.998, allocations: 1.609 MB / 1.147 GB, free: 220 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/1, allocations: 0.9628 MB / 1.148 GB, free: 212 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/1, allocations: 52.47 kB / 1.148 GB, free: 212 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005633/1.006, allocations: 2.823 MB / 1.151 GB, free: 188 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005797/1.007, allocations: 386.6 kB / 1.151 GB, free: 144 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/1.008, allocations: 0.6362 MB / 1.152 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004577/1.012, allocations: 2.768 MB / 1.155 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.012, allocations: 2.062 kB / 1.155 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.953e-06/1.012, allocations: 0 / 1.155 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.652e-05/1.012, allocations: 0 / 1.155 GB, free: 15.28 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002679/1.015, allocations: 1.475 MB / 1.156 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.015, allocations: 8.188 kB / 1.156 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/1.018, allocations: 426 kB / 1.157 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/1.019, allocations: 0.9578 MB / 1.158 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/1.019, allocations: 65.44 kB / 1.158 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/1.019, allocations: 86.88 kB / 1.158 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/1.021, allocations: 0.8822 MB / 1.159 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.021, allocations: 0 / 1.159 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/1.021, allocations: 32.72 kB / 1.159 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/1.021, allocations: 29.86 kB / 1.159 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/1.022, allocations: 0.8366 MB / 1.159 GB, free: 12.43 MB / 0.7136 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.004579/1.027, allocations: 3.66 MB / 1.163 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/1.028, allocations: 1.096 MB / 1.164 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/1.029, allocations: 383.4 kB / 1.164 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/1.03, allocations: 416.5 kB / 1.165 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/1.03, allocations: 46.03 kB / 1.165 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 3.116e-06/1.03, allocations: 3.312 kB / 1.165 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.002002/1.032, allocations: 0.9791 MB / 1.166 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/1.032, allocations: 61.09 kB / 1.166 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/1.033, allocations: 0.8414 MB / 1.167 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/1.033, allocations: 38.83 kB / 1.167 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/1.033, allocations: 478.1 kB / 1.167 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/1.033, allocations: 210.2 kB / 1.167 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/1.033, allocations: 52.66 kB / 1.167 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.034, allocations: 329.9 kB / 1.168 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/1.034, allocations: 259.2 kB / 1.168 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/1.035, allocations: 382.5 kB / 1.168 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.036, allocations: 0.6048 MB / 1.169 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.036, allocations: 0 / 1.169 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001322/1.037, allocations: 0.752 MB / 1.17 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.523e-05/1.037, allocations: 127.3 kB / 1.17 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.037, allocations: 3.25 kB / 1.17 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.037, allocations: 2.969 kB / 1.17 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/1.038, allocations: 129.8 kB / 1.17 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.038, allocations: 2.938 kB / 1.17 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/1.039, allocations: 134.2 kB / 1.17 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/1.039, allocations: 22.64 kB / 1.17 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/1.039, allocations: 5.5 kB / 1.17 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/1.04, allocations: 0.6257 MB / 1.171 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.04, allocations: 7.188 kB / 1.171 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/1.04, allocations: 3 kB / 1.171 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/1.041, allocations: 129.8 kB / 1.171 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/1.041, allocations: 2.938 kB / 1.171 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008626/1.042, allocations: 125.7 kB / 1.171 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/1.042, allocations: 26 kB / 1.171 GB, free: 4.176 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000749/1.042, allocations: 383 kB / 1.171 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/1.043, allocations: 103.4 kB / 1.171 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/1.044, allocations: 0.7591 MB / 1.172 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/1.045, allocations: 0.9211 MB / 1.173 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/1.045, allocations: 3.938 kB / 1.173 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000514/1.046, allocations: 263.6 kB / 1.173 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.046, allocations: 11.41 kB / 1.173 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/1.047, allocations: 99.88 kB / 1.173 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/1.047, allocations: 42.38 kB / 1.174 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001633/1.049, allocations: 0.8203 MB / 1.174 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001859/1.051, allocations: 1.285 MB / 1.176 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004998/1.051, allocations: 321.6 kB / 1.176 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008001/1.052, allocations: 0.5896 MB / 1.176 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of Backend: time 4e-07/1.052, allocations: 0 / 1.176 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003194/1.055, allocations: 1.285 MB / 1.178 GB, free: 112 kB / 0.7136 GB Notification: Performance of SimCode: time 0.00526/1.06, allocations: 3.257 MB / 1.181 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.04076/1.101, allocations: 26.65 MB / 1.207 GB, free: 2.734 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)