Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4649/0.4649, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 349.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 112.3 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 55.92 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3759, allocations: 70.06 MB / 0.5575 GB, free: 44.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.5832/0.9592, allocations: 237.7 MB / 0.7896 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.9716, allocations: 7.302 MB / 0.7968 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.9749, allocations: 47 kB / 0.7968 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.9767, allocations: 429.7 kB / 0.7972 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.9804, allocations: 1.236 MB / 0.7984 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.9846, allocations: 1.55 MB / 0.7999 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003541/0.9881, allocations: 2.777 MB / 0.8027 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009953/0.9892, allocations: 0.7046 MB / 0.8033 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.9924, allocations: 1.323 MB / 0.8046 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.9934, allocations: 0.7031 MB / 0.8053 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.9935, allocations: 48.88 kB / 0.8054 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004618/0.9981, allocations: 2.096 MB / 0.8074 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.9986, allocations: 281.2 kB / 0.8077 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006965/0.9993, allocations: 460.4 kB / 0.8081 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0036/1.003, allocations: 1.862 MB / 0.8099 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.003, allocations: 0 / 0.8099 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.012e-06/1.003, allocations: 3.938 kB / 0.8099 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.009e-05/1.003, allocations: 0 / 0.8099 GB, free: 7.355 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002509/1.006, allocations: 1.304 MB / 0.8112 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.006, allocations: 12.03 kB / 0.8112 GB, free: 6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/1.007, allocations: 284.8 kB / 0.8115 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/1.008, allocations: 0.6686 MB / 0.8122 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/1.008, allocations: 41 kB / 0.8122 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/1.008, allocations: 52 kB / 0.8122 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/1.009, allocations: 0.5998 MB / 0.8128 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/1.009, allocations: 0 / 0.8128 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/1.01, allocations: 20 kB / 0.8128 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/1.01, allocations: 15.94 kB / 0.8129 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/1.011, allocations: 0.6155 MB / 0.8135 GB, free: 3.699 MB / 0.5261 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.003816/1.014, allocations: 2.609 MB / 0.816 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009844/1.015, allocations: 474.5 kB / 0.8165 GB, free: 452 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/1.016, allocations: 324.4 kB / 0.8168 GB, free: 132 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007317/1.017, allocations: 408 kB / 0.8172 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.017, allocations: 37.94 kB / 0.8172 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006741/1.017, allocations: 186.5 kB / 0.8174 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 3.527e-06/1.018, allocations: 0 / 0.8174 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.002729/1.02, allocations: 1.085 MB / 0.8184 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.02, allocations: 59.41 kB / 0.8185 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007997/1.021, allocations: 0.6491 MB / 0.8191 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/1.021, allocations: 37.7 kB / 0.8192 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/1.021, allocations: 344.9 kB / 0.8195 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.022, allocations: 160.6 kB / 0.8196 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.022, allocations: 102.1 kB / 0.8197 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.022, allocations: 325.9 kB / 0.8201 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/1.022, allocations: 225.1 kB / 0.8203 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/1.023, allocations: 316.4 kB / 0.8206 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/1.024, allocations: 0.4998 MB / 0.8211 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.024, allocations: 4 kB / 0.8211 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001461/1.025, allocations: 0.7065 MB / 0.8218 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.025, allocations: 12 kB / 0.8218 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.025, allocations: 0 / 0.8218 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/1.026, allocations: 102.2 kB / 0.8219 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/1.026, allocations: 86.56 kB / 0.8219 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005439/1.027, allocations: 0.6214 MB / 0.8226 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/1.028, allocations: 63.88 kB / 0.8226 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/1.028, allocations: 27.92 kB / 0.8226 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007141/1.028, allocations: 384.8 kB / 0.823 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005014/1.029, allocations: 314.9 kB / 0.8233 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000902/1.03, allocations: 0.492 MB / 0.8238 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/1.03, allocations: 4 kB / 0.8238 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001262/1.031, allocations: 0.6713 MB / 0.8244 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.031, allocations: 4 kB / 0.8244 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/1.031, allocations: 8.062 kB / 0.8245 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/1.031, allocations: 63.39 kB / 0.8245 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/1.032, allocations: 89 kB / 0.8246 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/1.033, allocations: 1.691 MB / 0.8263 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/1.034, allocations: 63.94 kB / 0.8263 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/1.034, allocations: 23.98 kB / 0.8263 GB, free: 5.992 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.034, allocations: 205.3 kB / 0.8265 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/1.034, allocations: 79.06 kB / 0.8266 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/1.036, allocations: 0.7517 MB / 0.8273 GB, free: 4.945 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.036, allocations: 8 kB / 0.8273 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/1.036, allocations: 0 / 0.8273 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.036, allocations: 3.938 kB / 0.8274 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/1.039, allocations: 1.662 MB / 0.829 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.039, allocations: 4 kB / 0.829 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/1.039, allocations: 85.02 kB / 0.8291 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/1.039, allocations: 70.33 kB / 0.8291 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/1.04, allocations: 16.39 kB / 0.8291 GB, free: 3.043 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004464/1.04, allocations: 0.624 MB / 0.8298 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.04, allocations: 4 kB / 0.8298 GB, free: 2.395 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02215/1.062, allocations: 9.353 MB / 0.8389 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/1.063, allocations: 204.1 kB / 0.8391 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/1.063, allocations: 20.06 kB / 0.8391 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/1.063, allocations: 55.88 kB / 0.8392 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/1.063, allocations: 42.48 kB / 0.8392 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/1.063, allocations: 16 kB / 0.8392 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006384/1.064, allocations: 471 kB / 0.8397 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.064, allocations: 96 / 0.8397 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002104/1.066, allocations: 0.6788 MB / 0.8403 GB, free: 7.234 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005453/1.067, allocations: 234.7 kB / 0.8406 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001944/1.069, allocations: 0.9576 MB / 0.8415 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.069, allocations: 256 / 0.8415 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005569/1.069, allocations: 310.5 kB / 0.8418 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.071, allocations: 460.8 kB / 0.8422 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/1.078, allocations: 2.518 MB / 0.8447 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/1.078, allocations: 0.9919 MB / 0.8456 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001207/1.079, allocations: 245.9 kB / 0.8459 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/1.08, allocations: 71.41 kB / 0.846 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of SimCode: time 1.042e-06/1.08, allocations: 0 / 0.846 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of Templates: time 0.04602/1.126, allocations: 20.16 MB / 0.8656 GB, free: 13.52 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)