Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001999/0.001999, allocations: 196 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7571/0.7571, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1982, allocations: 76.18 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.8137/1.012, allocations: 239.8 MB / 0.8663 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01517/1.027, allocations: 7.226 MB / 0.8733 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/1.029, allocations: 51.69 kB / 0.8734 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002393/1.032, allocations: 0.6949 MB / 0.8741 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006357/1.038, allocations: 2.068 MB / 0.8761 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005255/1.044, allocations: 2.042 MB / 0.8781 GB, free: 460 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006528/1.05, allocations: 3.273 MB / 0.8813 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/1.052, allocations: 1.13 MB / 0.8824 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00568/1.058, allocations: 1.817 MB / 0.8842 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/1.061, allocations: 0.9681 MB / 0.8851 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004033/1.061, allocations: 120 kB / 0.8852 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006608/1.068, allocations: 2.494 MB / 0.8877 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00063/1.069, allocations: 466.7 kB / 0.8881 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/1.07, allocations: 0.7116 MB / 0.8888 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006022/1.076, allocations: 2.68 MB / 0.8914 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/1.076, allocations: 0 / 0.8914 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.076e-06/1.076, allocations: 0 / 0.8914 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.061e-05/1.076, allocations: 3.938 kB / 0.8914 GB, free: 2.734 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.004035/1.08, allocations: 1.713 MB / 0.8931 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.08, allocations: 8.031 kB / 0.8931 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/1.083, allocations: 430.5 kB / 0.8935 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/1.085, allocations: 1.015 MB / 0.8945 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/1.085, allocations: 62 kB / 0.8946 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/1.085, allocations: 87.89 kB / 0.8946 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.087, allocations: 0.8663 MB / 0.8955 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.087, allocations: 1.125 kB / 0.8955 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/1.087, allocations: 32 kB / 0.8955 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/1.087, allocations: 33.94 kB / 0.8955 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/1.089, allocations: 0.8042 MB / 0.8963 GB, free: 13.59 MB / 0.6544 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.005631/1.094, allocations: 3.646 MB / 0.8999 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/1.096, allocations: 1.092 MB / 0.901 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/1.097, allocations: 367 kB / 0.9013 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008339/1.097, allocations: 412.8 kB / 0.9017 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.097, allocations: 39.12 kB / 0.9017 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.335e-06/1.098, allocations: 0 / 0.9017 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.00226/1.1, allocations: 0.9584 MB / 0.9027 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/1.1, allocations: 59.97 kB / 0.9027 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/1.101, allocations: 0.8322 MB / 0.9035 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-05/1.101, allocations: 37.7 kB / 0.9036 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/1.102, allocations: 488.1 kB / 0.904 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/1.102, allocations: 216.8 kB / 0.9043 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/1.102, allocations: 110.2 kB / 0.9044 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.102, allocations: 330 kB / 0.9047 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/1.103, allocations: 251 kB / 0.9049 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/1.103, allocations: 363.5 kB / 0.9053 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/1.105, allocations: 0.5975 MB / 0.9058 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.105, allocations: 0 / 0.9058 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001377/1.106, allocations: 0.7359 MB / 0.9066 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.106, allocations: 11.94 kB / 0.9066 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.106, allocations: 0 / 0.9066 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.106, allocations: 4 kB / 0.9066 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/1.107, allocations: 131.8 kB / 0.9067 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.107, allocations: 4 kB / 0.9067 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/1.107, allocations: 71.5 kB / 0.9068 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/1.107, allocations: 27.98 kB / 0.9068 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008185/1.108, allocations: 497 kB / 0.9073 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005564/1.109, allocations: 367.4 kB / 0.9076 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009776/1.11, allocations: 0.5737 MB / 0.9082 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/1.11, allocations: 0 / 0.9082 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001347/1.111, allocations: 0.7242 MB / 0.9089 GB, free: 40 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/1.111, allocations: 7.938 kB / 0.9089 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/1.111, allocations: 4 kB / 0.9089 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/1.111, allocations: 8.125 kB / 0.9089 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/1.112, allocations: 123.9 kB / 0.909 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/1.112, allocations: 7.938 kB / 0.909 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/1.113, allocations: 59.55 kB / 0.9091 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/1.113, allocations: 24 kB / 0.9091 GB, free: 15.81 MB / 0.67 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.0001902/1.113, allocations: 212.2 kB / 0.9093 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/1.113, allocations: 102.7 kB / 0.9094 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/1.114, allocations: 0.7415 MB / 0.9101 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.114, allocations: 8 kB / 0.9102 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.114, allocations: 0 / 0.9102 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/1.116, allocations: 0.8995 MB / 0.911 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/1.119, allocations: 2.255 MB / 0.9132 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/1.119, allocations: 11.94 kB / 0.9132 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/1.12, allocations: 131.9 kB / 0.9134 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.468e-05/1.12, allocations: 7.938 kB / 0.9134 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/1.12, allocations: 16 kB / 0.9134 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/1.12, allocations: 11.94 kB / 0.9134 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.12, allocations: 0 / 0.9134 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/1.122, allocations: 1.23 MB / 0.9146 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/1.122, allocations: 267.7 kB / 0.9149 GB, free: 9.613 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.122, allocations: 16 kB / 0.9149 GB, free: 9.598 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/1.123, allocations: 39.95 kB / 0.9149 GB, free: 9.559 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.123, allocations: 52.27 kB / 0.915 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/1.123, allocations: 23.98 kB / 0.915 GB, free: 9.484 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007896/1.124, allocations: 0.5823 MB / 0.9156 GB, free: 8.891 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/1.124, allocations: 4 kB / 0.9156 GB, free: 8.887 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001232/1.125, allocations: 0.5338 MB / 0.9161 GB, free: 8.352 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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 (60): * Single equations (assignments): 60 * 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 Backend phase and start with SimCode phase: time 0.0005114/1.126, allocations: 235.1 kB / 0.9163 GB, free: 8.121 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001778/1.127, allocations: 0.947 MB / 0.9172 GB, free: 7.176 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.127, allocations: 0 / 0.9172 GB, free: 7.176 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/1.128, allocations: 342.2 kB / 0.9176 GB, free: 6.84 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.131, allocations: 0.6146 MB / 0.9182 GB, free: 6.242 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/1.134, allocations: 2.125 MB / 0.9202 GB, free: 4.047 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/1.135, allocations: 1.131 MB / 0.9213 GB, free: 2.887 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009293/1.136, allocations: 296.1 kB / 0.9216 GB, free: 2.594 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/1.136, allocations: 75.44 kB / 0.9217 GB, free: 2.52 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/1.136, allocations: 0 / 0.9217 GB, free: 2.52 MB / 0.67 GB Notification: Performance of Templates: time 0.03494/1.171, allocations: 20.51 MB / 0.9417 GB, free: 14.3 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)