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.001122/0.001122, allocations: 111.4 kB / 17.09 MB, free: 5.992 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.001369/0.001369, allocations: 196.3 kB / 18.03 MB, free: 5.066 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7233/0.7233, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 68.03 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1423, allocations: 76.17 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5829/0.7252, allocations: 239.8 MB / 0.8669 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.7376, allocations: 7.227 MB / 0.874 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.7397, allocations: 55.62 kB / 0.8741 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.7418, allocations: 0.6948 MB / 0.8747 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005293/0.7472, allocations: 2.067 MB / 0.8768 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.752, allocations: 2.034 MB / 0.8787 GB, free: 448 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00436/0.7564, allocations: 3.277 MB / 0.8819 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.7579, allocations: 1.135 MB / 0.8831 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.7614, allocations: 1.818 MB / 0.8848 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.7631, allocations: 0.9698 MB / 0.8858 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.7633, allocations: 123.9 kB / 0.8859 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.7676, allocations: 2.49 MB / 0.8883 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004305/0.768, allocations: 466.6 kB / 0.8888 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007565/0.7688, allocations: 0.7116 MB / 0.8895 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.7725, allocations: 2.684 MB / 0.8921 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.7725, allocations: 0 / 0.8921 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7726, allocations: 4 kB / 0.8921 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.7726, allocations: 0 / 0.8921 GB, free: 2.715 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.002588/0.7752, allocations: 1.709 MB / 0.8938 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.7752, allocations: 8.031 kB / 0.8938 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.7778, allocations: 425.9 kB / 0.8942 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.7794, allocations: 1.018 MB / 0.8952 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.7794, allocations: 65.94 kB / 0.8952 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.7796, allocations: 83.91 kB / 0.8953 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.7811, allocations: 0.8663 MB / 0.8962 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.7811, allocations: 0 / 0.8962 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.7812, allocations: 32 kB / 0.8962 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.7813, allocations: 37.98 kB / 0.8962 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.7826, allocations: 0.8003 MB / 0.897 GB, free: 13.57 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.004267/0.7869, allocations: 3.646 MB / 0.9006 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.7884, allocations: 1.084 MB / 0.9016 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/0.7889, allocations: 370.9 kB / 0.902 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000669/0.7896, allocations: 412.8 kB / 0.9024 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.7897, allocations: 43.06 kB / 0.9024 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/0.7897, allocations: 0 / 0.9024 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002048/0.7917, allocations: 0.9546 MB / 0.9033 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.7918, allocations: 59.97 kB / 0.9034 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009744/0.7928, allocations: 0.836 MB / 0.9042 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.7928, allocations: 37.7 kB / 0.9043 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.7932, allocations: 484.1 kB / 0.9047 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.7935, allocations: 216.8 kB / 0.9049 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.7937, allocations: 114.2 kB / 0.905 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7938, allocations: 326 kB / 0.9053 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.7943, allocations: 255 kB / 0.9056 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.7948, allocations: 367.4 kB / 0.9059 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009738/0.7958, allocations: 0.5891 MB / 0.9065 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7958, allocations: 0 / 0.9065 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00135/0.7972, allocations: 0.7397 MB / 0.9072 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7972, allocations: 12.12 kB / 0.9072 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.7972, allocations: 0 / 0.9072 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.7972, allocations: 4 kB / 0.9072 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.7978, allocations: 120.7 kB / 0.9074 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.7979, allocations: 11.88 kB / 0.9074 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008479/0.7987, allocations: 75.39 kB / 0.9074 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.7988, allocations: 20 kB / 0.9075 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008913/0.7997, allocations: 0.4932 MB / 0.9079 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005712/0.8003, allocations: 359.5 kB / 0.9083 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009572/0.8012, allocations: 0.5735 MB / 0.9088 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.8012, allocations: 4 kB / 0.9089 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001248/0.8025, allocations: 0.7204 MB / 0.9096 GB, free: 32 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.8025, allocations: 11.88 kB / 0.9096 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8025, allocations: 5 kB / 0.9096 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.8025, allocations: 4 kB / 0.9096 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.8031, allocations: 128 kB / 0.9097 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.8031, allocations: 5.25 kB / 0.9097 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.8039, allocations: 63.55 kB / 0.9098 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.804, allocations: 27.98 kB / 0.9098 GB, free: 15.79 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.0002263/0.8042, allocations: 208.1 kB / 0.91 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.8044, allocations: 102.7 kB / 0.9101 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.8058, allocations: 0.7455 MB / 0.9108 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.807, allocations: 0.9072 MB / 0.9117 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.807, allocations: 0 / 0.9117 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.8074, allocations: 255.7 kB / 0.9119 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.8075, allocations: 12 kB / 0.912 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000624/0.8081, allocations: 39.95 kB / 0.912 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.8083, allocations: 36.5 kB / 0.912 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001664/0.8099, allocations: 0.7992 MB / 0.9128 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00187/0.8118, allocations: 1.247 MB / 0.914 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005005/0.8123, allocations: 320.4 kB / 0.9143 GB, free: 11 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007807/0.8131, allocations: 0.5823 MB / 0.9149 GB, free: 10.41 MB / 0.67 GB Notification: Performance of Backend: time 2.1e-07/0.8131, allocations: 0 / 0.9149 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003039/0.8162, allocations: 1.273 MB / 0.9161 GB, free: 9.133 MB / 0.67 GB Notification: Performance of SimCode: time 0.004368/0.8206, allocations: 2.811 MB / 0.9189 GB, free: 6.277 MB / 0.67 GB Notification: Performance of Templates: time 0.0408/0.8614, allocations: 27.64 MB / 0.9459 GB, free: 10.89 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)