Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001101/0.001101, allocations: 111.2 kB / 16.42 MB, free: 6.469 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.00127/0.00127, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 293 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9881/0.9881, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.547, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.6603/1.207, allocations: 239.9 MB / 1.001 GB, free: 19.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01044/1.218, allocations: 7.202 MB / 1.008 GB, free: 19.36 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/1.219, allocations: 53.47 kB / 1.008 GB, free: 19.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/1.221, allocations: 0.7144 MB / 1.009 GB, free: 19.35 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004502/1.226, allocations: 2.174 MB / 1.011 GB, free: 19.26 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004285/1.23, allocations: 2.063 MB / 1.013 GB, free: 19.2 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00398/1.234, allocations: 3.273 MB / 1.016 GB, free: 19.19 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/1.236, allocations: 1.145 MB / 1.018 GB, free: 19.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/1.239, allocations: 1.854 MB / 1.019 GB, free: 19.04 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/1.241, allocations: 0.959 MB / 1.02 GB, free: 18.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004226/1.242, allocations: 121.1 kB / 1.02 GB, free: 18.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004761/1.246, allocations: 2.51 MB / 1.023 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007093/1.247, allocations: 460.7 kB / 1.023 GB, free: 18.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/1.249, allocations: 0.7197 MB / 1.024 GB, free: 18.65 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005196/1.254, allocations: 2.683 MB / 1.027 GB, free: 18.35 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.254, allocations: 3.938 kB / 1.027 GB, free: 18.35 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/1.254, allocations: 0 / 1.027 GB, free: 18.35 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.242e-05/1.254, allocations: 4.938 kB / 1.027 GB, free: 18.35 MB / 0.7169 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.004125/1.258, allocations: 1.713 MB / 1.028 GB, free: 17.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.258, allocations: 8.438 kB / 1.028 GB, free: 17.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/1.261, allocations: 426 kB / 1.029 GB, free: 17.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/1.263, allocations: 1.019 MB / 1.03 GB, free: 17.01 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/1.263, allocations: 61.34 kB / 1.03 GB, free: 17.01 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/1.264, allocations: 93.09 kB / 1.03 GB, free: 17 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/1.265, allocations: 0.8636 MB / 1.031 GB, free: 16.94 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/1.265, allocations: 0.8125 kB / 1.031 GB, free: 16.94 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/1.265, allocations: 34.03 kB / 1.031 GB, free: 16.94 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/1.265, allocations: 28.52 kB / 1.031 GB, free: 16.94 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/1.267, allocations: 0.808 MB / 1.032 GB, free: 16.93 MB / 0.7169 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.004502/1.271, allocations: 3.64 MB / 1.035 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/1.273, allocations: 1.094 MB / 1.036 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/1.273, allocations: 371 kB / 1.036 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005888/1.274, allocations: 411 kB / 1.037 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/1.274, allocations: 41.09 kB / 1.037 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.254e-06/1.274, allocations: 0 / 1.037 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.001924/1.276, allocations: 0.9623 MB / 1.038 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/1.276, allocations: 60 kB / 1.038 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/1.277, allocations: 0.8381 MB / 1.039 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/1.277, allocations: 39.42 kB / 1.039 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/1.277, allocations: 486.9 kB / 1.039 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/1.277, allocations: 211.8 kB / 1.039 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/1.277, allocations: 107.8 kB / 1.04 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.711e-05/1.277, allocations: 330.4 kB / 1.04 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/1.278, allocations: 253.5 kB / 1.04 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/1.279, allocations: 367.3 kB / 1.04 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009924/1.28, allocations: 0.5874 MB / 1.041 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.28, allocations: 4.875 kB / 1.041 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001328/1.281, allocations: 0.7353 MB / 1.042 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.281, allocations: 10.09 kB / 1.042 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.281, allocations: 3.938 kB / 1.042 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.281, allocations: 7.953 kB / 1.042 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/1.281, allocations: 126.8 kB / 1.042 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.281, allocations: 2.969 kB / 1.042 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/1.282, allocations: 73.36 kB / 1.042 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/1.282, allocations: 22.62 kB / 1.042 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006905/1.283, allocations: 0.4898 MB / 1.042 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004825/1.284, allocations: 365.6 kB / 1.043 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008951/1.284, allocations: 0.5774 MB / 1.043 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/1.284, allocations: 0 / 1.043 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001187/1.286, allocations: 0.7235 MB / 1.044 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/1.286, allocations: 10.19 kB / 1.044 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/1.286, allocations: 0 / 1.044 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.411e-06/1.286, allocations: 6.625 kB / 1.044 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/1.286, allocations: 124.7 kB / 1.044 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.286, allocations: 6.203 kB / 1.044 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/1.287, allocations: 71.05 kB / 1.044 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/1.287, allocations: 19.91 kB / 1.044 GB, free: 10.22 MB / 0.7169 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.0001427/1.287, allocations: 218.5 kB / 1.045 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/1.287, allocations: 100.3 kB / 1.045 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/1.289, allocations: 0.7479 MB / 1.045 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000978/1.29, allocations: 0.9002 MB / 1.046 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.29, allocations: 0 / 1.046 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/1.29, allocations: 257.8 kB / 1.046 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/1.29, allocations: 16.69 kB / 1.046 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/1.291, allocations: 40.3 kB / 1.047 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/1.291, allocations: 36.66 kB / 1.047 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001569/1.293, allocations: 0.7998 MB / 1.047 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001644/1.294, allocations: 1.248 MB / 1.049 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004446/1.295, allocations: 317 kB / 1.049 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006695/1.295, allocations: 0.5854 MB / 1.049 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Backend: time 3.7e-07/1.295, allocations: 0 / 1.049 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003395/1.299, allocations: 1.27 MB / 1.051 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004437/1.303, allocations: 2.803 MB / 1.053 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of Templates: time 0.04495/1.348, allocations: 27.65 MB / 1.08 GB, free: 7.934 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)