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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009438, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007956/0.007956, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.335/1.335, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001749/0.001749, allocations: 278.3 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 169.5 MB / 0.5004 GB, free: 14.03 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 14.94 kB / 0.5986 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1659, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.5451/0.711, allocations: 234.5 MB / 0.9142 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.7225, allocations: 7.221 MB / 0.9212 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.7249, allocations: 47.69 kB / 0.9212 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.7262, allocations: 425.6 kB / 0.9217 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.7293, allocations: 1.237 MB / 0.9229 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.7331, allocations: 1.565 MB / 0.9244 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.7359, allocations: 2.767 MB / 0.9271 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009064/0.7368, allocations: 0.6797 MB / 0.9278 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.7394, allocations: 1.307 MB / 0.929 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008688/0.7403, allocations: 0.6847 MB / 0.9297 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.951e-05/0.7404, allocations: 44 kB / 0.9297 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/0.7438, allocations: 2.081 MB / 0.9318 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.7441, allocations: 263.1 kB / 0.932 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000531/0.7446, allocations: 479.4 kB / 0.9325 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.7471, allocations: 1.846 MB / 0.9343 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7471, allocations: 0 / 0.9343 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7471, allocations: 0 / 0.9343 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.7471, allocations: 4 kB / 0.9343 GB, free: 0.5703 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002066/0.7492, allocations: 1.141 MB / 0.9354 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7492, allocations: 8.031 kB / 0.9354 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.7509, allocations: 286.6 kB / 0.9357 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/0.7519, allocations: 0.6633 MB / 0.9363 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.7519, allocations: 45 kB / 0.9364 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.752, allocations: 52 kB / 0.9364 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.7531, allocations: 0.6153 MB / 0.937 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.7532, allocations: 0 / 0.937 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.7532, allocations: 20 kB / 0.937 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.7532, allocations: 16 kB / 0.9371 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.7544, allocations: 0.6286 MB / 0.9377 GB, free: 13 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.003301/0.7577, allocations: 2.637 MB / 0.9402 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.7586, allocations: 494.1 kB / 0.9407 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.7592, allocations: 329.4 kB / 0.941 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006732/0.7599, allocations: 412.7 kB / 0.9414 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.7599, allocations: 41.94 kB / 0.9415 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007219/0.7606, allocations: 187.5 kB / 0.9416 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.776e-06/0.7607, allocations: 0 / 0.9416 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002606/0.7633, allocations: 1.126 MB / 0.9427 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.7633, allocations: 55.41 kB / 0.9428 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.7641, allocations: 0.6608 MB / 0.9434 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.7641, allocations: 41.7 kB / 0.9435 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.7644, allocations: 337.1 kB / 0.9438 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.7645, allocations: 161.6 kB / 0.944 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.7646, allocations: 45.69 kB / 0.944 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.7647, allocations: 318 kB / 0.9443 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.7652, allocations: 236.7 kB / 0.9445 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.7657, allocations: 328.4 kB / 0.9448 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.7666, allocations: 0.5246 MB / 0.9454 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7666, allocations: 0 / 0.9454 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001401/0.768, allocations: 0.7341 MB / 0.9461 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.7681, allocations: 112.4 kB / 0.9462 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7681, allocations: 0 / 0.9462 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004417/0.7686, allocations: 108.7 kB / 0.9463 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.769, allocations: 91.88 kB / 0.9464 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004562/0.7695, allocations: 0.6109 MB / 0.947 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.7701, allocations: 75.88 kB / 0.947 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.7702, allocations: 23.98 kB / 0.9471 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.7702, allocations: 4 kB / 0.9471 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001153/0.7714, allocations: 0.5926 MB / 0.9476 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7714, allocations: 3.984 kB / 0.9477 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.7716, allocations: 60.86 kB / 0.9477 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.772, allocations: 99.8 kB / 0.9478 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.7735, allocations: 1.698 MB / 0.9495 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/0.7741, allocations: 63.91 kB / 0.9495 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.7742, allocations: 27.97 kB / 0.9496 GB, free: 224 kB / 0.6544 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.0003486/0.7745, allocations: 294.4 kB / 0.9498 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.7747, allocations: 75.06 kB / 0.9499 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.7762, allocations: 0.77 MB / 0.9507 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.7762, allocations: 4 kB / 0.9507 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7762, allocations: 4 kB / 0.9507 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.7762, allocations: 7.984 kB / 0.9507 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.7787, allocations: 1.689 MB / 0.9523 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7788, allocations: 4 kB / 0.9523 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.7792, allocations: 88.3 kB / 0.9524 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/0.7794, allocations: 68.75 kB / 0.9525 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.7794, allocations: 16 kB / 0.9525 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003912/0.7798, allocations: 0.6264 MB / 0.9531 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.7798, allocations: 7.938 kB / 0.9531 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.7816, allocations: 1.196 MB / 0.9543 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.7819, allocations: 208.1 kB / 0.9545 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/0.782, allocations: 15.98 kB / 0.9545 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005958/0.7826, allocations: 67.78 kB / 0.9546 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.7827, allocations: 43.89 kB / 0.9546 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.7828, allocations: 19.94 kB / 0.9546 GB, free: 10.79 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005464/0.7833, allocations: 471 kB / 0.9551 GB, free: 10.34 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7833, allocations: 0 / 0.9551 GB, free: 10.34 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001057/0.7844, allocations: 371.4 kB / 0.9554 GB, free: 9.977 MB / 0.67 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.0004477/0.7848, allocations: 232 kB / 0.9556 GB, free: 9.746 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.7867, allocations: 0.9909 MB / 0.9566 GB, free: 8.746 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7867, allocations: 0 / 0.9566 GB, free: 8.746 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000576/0.7873, allocations: 320 kB / 0.9569 GB, free: 8.434 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.7899, allocations: 473.2 kB / 0.9574 GB, free: 7.977 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.7953, allocations: 2.127 MB / 0.9594 GB, free: 5.785 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.7958, allocations: 0.9659 MB / 0.9604 GB, free: 4.793 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008726/0.7967, allocations: 226 kB / 0.9606 GB, free: 4.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.7969, allocations: 67.41 kB / 0.9607 GB, free: 4.504 MB / 0.67 GB Notification: Performance of SimCode: time 8.41e-07/0.7969, allocations: 0 / 0.9607 GB, free: 4.504 MB / 0.67 GB Notification: Performance of Templates: time 0.02552/0.8224, allocations: 15.85 MB / 0.9761 GB, free: 4.918 MB / 0.6856 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)