Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001668/0.001668, allocations: 188.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009535/0.0009533, allocations: 98.39 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.577e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7452, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.986, allocations: 470.2 MB / 1.432 GB, free: 83.22 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.986, allocations: 99.2 kB / 1.433 GB, free: 83.16 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.2/6.186, allocations: 0.9274 GB / 2.36 GB, free: 98.92 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.744e-06/6.186, allocations: 0 / 2.36 GB, free: 98.92 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006436/6.187, allocations: 131.9 kB / 2.36 GB, free: 98.91 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01968/6.207, allocations: 4.648 MB / 2.365 GB, free: 97.42 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/6.207, allocations: 13.09 kB / 2.365 GB, free: 97.42 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/6.212, allocations: 0.5854 MB / 2.365 GB, free: 97.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/6.225, allocations: 4.037 MB / 2.369 GB, free: 96.64 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/6.225, allocations: 121.6 kB / 2.369 GB, free: 96.64 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/6.228, allocations: 237.1 kB / 2.37 GB, free: 96.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01258/6.24, allocations: 4.956 MB / 2.374 GB, free: 96.62 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/6.254, allocations: 5.411 MB / 2.38 GB, free: 95.82 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/6.254, allocations: 17 kB / 2.38 GB, free: 95.82 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006612/6.255, allocations: 7.125 kB / 2.38 GB, free: 95.82 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005553/6.255, allocations: 385.7 kB / 2.38 GB, free: 95.81 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.04105/6.296, allocations: 24.26 MB / 2.404 GB, free: 82.94 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006345/6.303, allocations: 4.277 MB / 2.408 GB, free: 82.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003306/6.306, allocations: 2.238 MB / 2.41 GB, free: 82.88 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02537/6.331, allocations: 12.35 MB / 2.422 GB, free: 77.41 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004544/6.336, allocations: 2.091 MB / 2.424 GB, free: 77.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004153/6.34, allocations: 0.5773 MB / 2.425 GB, free: 77.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=310): time 1.878e-05/6.34, allocations: 0 / 2.425 GB, free: 77.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=334): time 0.1034/6.444, allocations: 18.49 MB / 2.443 GB, free: 75.89 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/6.444, allocations: 112.3 kB / 2.443 GB, free: 75.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007462/6.451, allocations: 2.193 MB / 2.445 GB, free: 75.53 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001623/6.453, allocations: 36.61 kB / 2.445 GB, free: 75.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001848/6.455, allocations: 2.057 MB / 2.447 GB, free: 74.64 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002096/6.457, allocations: 1.116 MB / 2.448 GB, free: 73.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/6.457, allocations: 0 / 2.448 GB, free: 73.91 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002682/6.458, allocations: 467.9 kB / 2.449 GB, free: 73.59 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/6.46, allocations: 1.805 MB / 2.45 GB, free: 73.58 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003245/6.464, allocations: 2.819 MB / 2.453 GB, free: 72.49 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02385/6.487, allocations: 5.235 MB / 2.458 GB, free: 72.44 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.345e-05/6.488, allocations: 11.31 kB / 2.458 GB, free: 72.44 MB / 0.9636 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03174/6.519, allocations: 7.981 MB / 2.466 GB, free: 72.13 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002743/6.522, allocations: 11.94 MB / 2.478 GB, free: 59.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-05/6.522, allocations: 26.38 kB / 2.478 GB, free: 59.81 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/6.522, allocations: 52.75 kB / 2.478 GB, free: 59.81 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03202/6.554, allocations: 4.214 MB / 2.482 GB, free: 59.81 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/6.565, allocations: 5.475 MB / 2.487 GB, free: 56.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006573/6.572, allocations: 305.8 kB / 2.488 GB, free: 56.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/6.573, allocations: 204.4 kB / 2.488 GB, free: 56.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/6.573, allocations: 3.406 kB / 2.488 GB, free: 56.27 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02309/6.597, allocations: 6.024 MB / 2.494 GB, free: 56.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.673e-05/6.597, allocations: 29.56 kB / 2.494 GB, free: 56.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.381e-05/6.597, allocations: 51.97 kB / 2.494 GB, free: 56.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006772/6.604, allocations: 1.378 MB / 2.495 GB, free: 56.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001044/6.604, allocations: 66.19 kB / 2.495 GB, free: 56.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005929/6.61, allocations: 292 kB / 2.495 GB, free: 56.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/6.611, allocations: 209 kB / 2.496 GB, free: 56.16 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002739/6.614, allocations: 214.5 kB / 2.496 GB, free: 56.03 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002121/6.616, allocations: 373.1 kB / 2.496 GB, free: 55.84 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02983/6.646, allocations: 7.902 MB / 2.504 GB, free: 55.62 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.766e-05/6.646, allocations: 41.83 kB / 2.504 GB, free: 55.62 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/6.646, allocations: 0 / 2.504 GB, free: 55.62 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02478/6.671, allocations: 6.886 MB / 2.511 GB, free: 55.28 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03922/6.71, allocations: 14.08 MB / 2.524 GB, free: 54.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/6.71, allocations: 12.28 kB / 2.524 GB, free: 54.37 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02932/6.74, allocations: 3.826 MB / 2.528 GB, free: 54.36 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-05/6.74, allocations: 26.78 kB / 2.528 GB, free: 54.36 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009131/6.741, allocations: 64.88 kB / 2.528 GB, free: 54.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009898/6.75, allocations: 5.332 MB / 2.533 GB, free: 50.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.886e-05/6.751, allocations: 20.06 kB / 2.533 GB, free: 50.85 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03176/6.782, allocations: 11.81 MB / 2.545 GB, free: 48.17 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003404/6.786, allocations: 0.9449 MB / 2.546 GB, free: 47.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/6.787, allocations: 30.7 kB / 2.546 GB, free: 47.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00426/6.792, allocations: 210 kB / 2.546 GB, free: 47.85 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004933/6.792, allocations: 281.5 kB / 2.546 GB, free: 47.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004992/6.793, allocations: 165 kB / 2.547 GB, free: 47.84 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002679/6.795, allocations: 1.588 MB / 2.548 GB, free: 47.69 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/6.795, allocations: 0 / 2.548 GB, free: 47.69 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01333/6.809, allocations: 2.39 MB / 2.55 GB, free: 47.52 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004967/6.814, allocations: 1.811 MB / 2.552 GB, free: 47.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0549/6.868, allocations: 11.44 MB / 2.563 GB, free: 46.96 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.218e-05/6.869, allocations: 6.062 kB / 2.563 GB, free: 46.96 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.04425/6.913, allocations: 6.626 MB / 2.57 GB, free: 46.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00856/6.921, allocations: 1.306 MB / 2.571 GB, free: 46.74 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/6.939, allocations: 8.707 MB / 2.58 GB, free: 44.11 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/6.942, allocations: 3.152 MB / 2.583 GB, free: 43.25 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01053/6.952, allocations: 2.761 MB / 2.585 GB, free: 43.02 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/6.954, allocations: 320.9 kB / 2.586 GB, free: 43.02 MB / 0.9636 GB Notification: Performance of SimCode: time 1.482e-06/6.954, allocations: 0 / 2.586 GB, free: 43.02 MB / 0.9636 GB Notification: Performance of Templates: time 0.1265/7.08, allocations: 78.28 MB / 2.662 GB, free: 16.84 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)