Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8473/0.8473, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 173.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 88.27 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001706, allocations: 265.5 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004358, allocations: 17.62 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1699, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.014/4.184, allocations: 1.888 GB / 2.662 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/4.184, allocations: 96.86 kB / 2.662 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.96/7.145, allocations: 0.8017 GB / 3.464 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/7.145, allocations: 0 / 3.464 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001476/7.145, allocations: 25.55 kB / 3.464 GB, free: 111.1 MB / 0.7136 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.004707/7.15, allocations: 1.377 MB / 3.465 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/7.15, allocations: 14.3 kB / 3.465 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/7.152, allocations: 279 kB / 3.465 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/7.154, allocations: 0.7541 MB / 3.466 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/7.154, allocations: 44.28 kB / 3.466 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/7.154, allocations: 61.31 kB / 3.466 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/7.156, allocations: 0.6138 MB / 3.467 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/7.156, allocations: 2.906 kB / 3.467 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/7.156, allocations: 19.12 kB / 3.467 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/7.156, allocations: 11.38 kB / 3.467 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/7.157, allocations: 0.627 MB / 3.467 GB, free: 110.1 MB / 0.7136 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.004215/7.161, allocations: 2.671 MB / 3.47 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009748/7.162, allocations: 0.5239 MB / 3.47 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/7.163, allocations: 404.4 kB / 3.471 GB, free: 108.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/7.163, allocations: 41.91 kB / 3.471 GB, free: 108.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001087/7.164, allocations: 303.6 kB / 3.471 GB, free: 108.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 6.102e-06/7.164, allocations: 1.406 kB / 3.471 GB, free: 108.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002546/7.166, allocations: 1.166 MB / 3.472 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/7.166, allocations: 57.94 kB / 3.472 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/7.167, allocations: 0.5612 MB / 3.473 GB, free: 108 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/7.167, allocations: 38.11 kB / 3.473 GB, free: 108 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/7.168, allocations: 343.2 kB / 3.473 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/7.168, allocations: 156.2 kB / 3.473 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/7.168, allocations: 10.44 kB / 3.473 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/7.168, allocations: 322.3 kB / 3.474 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/7.168, allocations: 255.8 kB / 3.474 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/7.169, allocations: 382.7 kB / 3.474 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/7.169, allocations: 289.6 kB / 3.475 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/7.169, allocations: 7.641 kB / 3.475 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00134/7.171, allocations: 0.7672 MB / 3.475 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/7.171, allocations: 279.5 kB / 3.476 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/7.171, allocations: 2.375 kB / 3.476 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/7.171, allocations: 64.25 kB / 3.476 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/7.172, allocations: 94.77 kB / 3.476 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004462/7.172, allocations: 0.6334 MB / 3.476 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/7.173, allocations: 69.44 kB / 3.476 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/7.173, allocations: 29.97 kB / 3.476 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/7.173, allocations: 3.656 kB / 3.477 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001158/7.174, allocations: 0.6546 MB / 3.477 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/7.174, allocations: 3.953 kB / 3.477 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/7.174, allocations: 61.92 kB / 3.477 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/7.175, allocations: 100.1 kB / 3.477 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/7.176, allocations: 1.738 MB / 3.479 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000785/7.177, allocations: 75.98 kB / 3.479 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/7.177, allocations: 30.3 kB / 3.479 GB, free: 105.1 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004268/7.178, allocations: 292.3 kB / 3.479 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/7.178, allocations: 72.81 kB / 3.479 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/7.179, allocations: 0.825 MB / 3.48 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/7.18, allocations: 5.594 kB / 3.48 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/7.18, allocations: 3.062 kB / 3.48 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/7.18, allocations: 3.703 kB / 3.48 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/7.183, allocations: 1.742 MB / 3.482 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/7.183, allocations: 6.594 kB / 3.482 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/7.183, allocations: 93.53 kB / 3.482 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/7.183, allocations: 67.14 kB / 3.482 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/7.183, allocations: 14.94 kB / 3.482 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000336/7.184, allocations: 0.6046 MB / 3.483 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/7.184, allocations: 7.875 kB / 3.483 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/7.186, allocations: 1.33 MB / 3.484 GB, free: 103.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/7.186, allocations: 202.2 kB / 3.484 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/7.186, allocations: 20.78 kB / 3.484 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000789/7.187, allocations: 93.34 kB / 3.484 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/7.187, allocations: 38.14 kB / 3.484 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/7.187, allocations: 27.61 kB / 3.484 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006049/7.188, allocations: 461.4 kB / 3.485 GB, free: 103 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/7.188, allocations: 0 / 3.485 GB, free: 103 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002375/7.19, allocations: 0.5937 MB / 3.485 GB, free: 103 MB / 0.7136 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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003691/7.194, allocations: 2.144 MB / 3.488 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002031/7.196, allocations: 1.047 MB / 3.489 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/7.196, allocations: 0 / 3.489 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005742/7.196, allocations: 320.7 kB / 3.489 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/7.199, allocations: 0.5102 MB / 3.489 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/7.205, allocations: 2.062 MB / 3.491 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/7.205, allocations: 0.9932 MB / 3.492 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001081/7.206, allocations: 221.5 kB / 3.493 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/7.206, allocations: 70.02 kB / 3.493 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/7.206, allocations: 2.469 kB / 3.493 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.06151/7.268, allocations: 40.76 MB / 3.532 GB, free: 91.98 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)