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.001095/0.001095, allocations: 113.2 kB / 16.42 MB, free: 6.516 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.000966/0.000966, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 285.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9541/0.9541, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5253, allocations: 86.98 MB / 0.767 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.8146/1.34, allocations: 239.8 MB / 1.001 GB, free: 19.46 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01428/1.354, allocations: 7.21 MB / 1.008 GB, free: 19.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/1.357, allocations: 50.78 kB / 1.008 GB, free: 19.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/1.359, allocations: 0.6952 MB / 1.009 GB, free: 19.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005328/1.365, allocations: 2.074 MB / 1.011 GB, free: 19.24 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004705/1.369, allocations: 2.039 MB / 1.013 GB, free: 19.17 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004556/1.374, allocations: 3.273 MB / 1.016 GB, free: 19.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/1.376, allocations: 1.143 MB / 1.017 GB, free: 19.04 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004007/1.38, allocations: 1.819 MB / 1.019 GB, free: 19.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/1.382, allocations: 0.9678 MB / 1.02 GB, free: 18.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/1.382, allocations: 125.2 kB / 1.02 GB, free: 18.9 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005329/1.388, allocations: 2.484 MB / 1.023 GB, free: 18.88 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005335/1.388, allocations: 464.6 kB / 1.023 GB, free: 18.83 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009512/1.389, allocations: 0.7205 MB / 1.024 GB, free: 18.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005025/1.394, allocations: 2.688 MB / 1.026 GB, free: 18.33 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.394, allocations: 0.9062 kB / 1.026 GB, free: 18.33 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/1.394, allocations: 0 / 1.026 GB, free: 18.33 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.091e-05/1.394, allocations: 0 / 1.026 GB, free: 18.33 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.002834/1.397, allocations: 1.716 MB / 1.028 GB, free: 17.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.397, allocations: 14.77 kB / 1.028 GB, free: 17.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002679/1.4, allocations: 418.9 kB / 1.028 GB, free: 17.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.401, allocations: 1.021 MB / 1.029 GB, free: 16.99 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/1.401, allocations: 62.31 kB / 1.03 GB, free: 16.99 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/1.402, allocations: 88.94 kB / 1.03 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/1.403, allocations: 0.8677 MB / 1.03 GB, free: 16.92 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/1.403, allocations: 0 / 1.03 GB, free: 16.92 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/1.403, allocations: 33.19 kB / 1.031 GB, free: 16.92 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/1.403, allocations: 28.25 kB / 1.031 GB, free: 16.92 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/1.404, allocations: 0.8067 MB / 1.031 GB, free: 16.91 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.004251/1.409, allocations: 3.641 MB / 1.035 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/1.41, allocations: 1.1 MB / 1.036 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/1.411, allocations: 368.5 kB / 1.036 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000625/1.411, allocations: 411.4 kB / 1.037 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/1.411, allocations: 41.47 kB / 1.037 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.476e-06/1.411, allocations: 0 / 1.037 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.001954/1.413, allocations: 0.96 MB / 1.038 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/1.413, allocations: 57.25 kB / 1.038 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009059/1.414, allocations: 0.8361 MB / 1.039 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/1.414, allocations: 39.58 kB / 1.039 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/1.415, allocations: 482.2 kB / 1.039 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/1.415, allocations: 216.1 kB / 1.039 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/1.415, allocations: 107.6 kB / 1.039 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.171e-05/1.415, allocations: 332.7 kB / 1.04 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/1.415, allocations: 255.4 kB / 1.04 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/1.416, allocations: 371.1 kB / 1.04 GB, free: 12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/1.417, allocations: 0.5907 MB / 1.041 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.417, allocations: 0.8438 kB / 1.041 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001261/1.418, allocations: 0.7335 MB / 1.042 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.418, allocations: 7.625 kB / 1.042 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.418, allocations: 3.938 kB / 1.042 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.418, allocations: 8.562 kB / 1.042 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/1.419, allocations: 127.9 kB / 1.042 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.419, allocations: 5.75 kB / 1.042 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/1.42, allocations: 70.2 kB / 1.042 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/1.42, allocations: 24.36 kB / 1.042 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007614/1.421, allocations: 0.492 MB / 1.042 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004718/1.421, allocations: 361.7 kB / 1.043 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008566/1.422, allocations: 0.5797 MB / 1.043 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/1.422, allocations: 3.984 kB / 1.043 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001137/1.423, allocations: 0.7155 MB / 1.044 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.423, allocations: 9.625 kB / 1.044 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/1.423, allocations: 0 / 1.044 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/1.423, allocations: 8.875 kB / 1.044 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/1.424, allocations: 131.1 kB / 1.044 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.424, allocations: 2.75 kB / 1.044 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000764/1.424, allocations: 61.89 kB / 1.044 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/1.424, allocations: 21.22 kB / 1.044 GB, free: 10.36 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.0002016/1.425, allocations: 223.4 kB / 1.044 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.425, allocations: 101.4 kB / 1.044 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/1.426, allocations: 0.7406 MB / 1.045 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009561/1.427, allocations: 0.9006 MB / 1.046 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.427, allocations: 0 / 1.046 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/1.427, allocations: 260.3 kB / 1.046 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/1.428, allocations: 17.91 kB / 1.046 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/1.428, allocations: 43.05 kB / 1.046 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.428, allocations: 34.89 kB / 1.046 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001467/1.43, allocations: 0.7988 MB / 1.047 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00167/1.431, allocations: 1.247 MB / 1.048 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004803/1.432, allocations: 314.7 kB / 1.049 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008432/1.433, allocations: 0.5885 MB / 1.049 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of Backend: time 9.42e-07/1.433, allocations: 0 / 1.049 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003593/1.436, allocations: 1.272 MB / 1.05 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003907/1.44, allocations: 2.804 MB / 1.053 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.04485/1.485, allocations: 27.65 MB / 1.08 GB, free: 8.207 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)