Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7678/0.7678, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 172.3 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008232/0.0008233, allocations: 86.36 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001677/0.001677, allocations: 269.4 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005644, allocations: 20 kB / 0.662 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3784, allocations: 79.29 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7259/1.104, allocations: 415.2 MB / 1.145 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.105, allocations: 108.8 kB / 1.145 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.465/9.57, allocations: 2.333 GB / 3.478 GB, free: 40.51 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.015e-06/9.57, allocations: 1.625 kB / 3.478 GB, free: 40.51 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0007598/9.57, allocations: 147.8 kB / 3.478 GB, free: 40.49 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.02535/9.596, allocations: 7.002 MB / 3.485 GB, free: 37.47 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/9.596, allocations: 13.41 kB / 3.485 GB, free: 37.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/9.6, allocations: 0.71 MB / 3.485 GB, free: 37.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0807/9.681, allocations: 39.56 MB / 3.524 GB, free: 34.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004548/9.682, allocations: 283.8 kB / 3.524 GB, free: 34.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/9.684, allocations: 387.8 kB / 3.525 GB, free: 34.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/9.697, allocations: 4.076 MB / 3.529 GB, free: 34.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/9.697, allocations: 13.72 kB / 3.529 GB, free: 34.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004305/9.697, allocations: 154.8 kB / 3.529 GB, free: 34.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.413e-05/9.697, allocations: 102.3 kB / 3.529 GB, free: 34.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006003/9.703, allocations: 3.066 MB / 3.532 GB, free: 34.09 MB / 0.8073 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.03047/9.734, allocations: 23.35 MB / 3.555 GB, free: 21.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/9.737, allocations: 2.354 MB / 3.557 GB, free: 21.26 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/9.739, allocations: 1.285 MB / 3.558 GB, free: 21.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00387/9.743, allocations: 6.424 MB / 3.565 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002487/9.746, allocations: 1.444 MB / 3.566 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=261): time 5.65e-06/9.746, allocations: 0 / 3.566 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=261): time 0.007713/9.753, allocations: 3.741 MB / 3.57 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/9.753, allocations: 108.1 kB / 3.57 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007748/9.761, allocations: 4.032 MB / 3.574 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008823/9.762, allocations: 84.55 kB / 3.574 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002285/9.764, allocations: 2.454 MB / 3.576 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001567/9.766, allocations: 0.9037 MB / 3.577 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/9.766, allocations: 53.12 kB / 3.577 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001929/9.766, allocations: 418.1 kB / 3.578 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/9.768, allocations: 1.018 MB / 3.579 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/9.77, allocations: 1.709 MB / 3.58 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/9.774, allocations: 2.836 MB / 3.583 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/9.774, allocations: 6.469 kB / 3.583 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.00668/9.781, allocations: 3.396 MB / 3.586 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003679/9.781, allocations: 0.5662 MB / 3.587 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-05/9.781, allocations: 31.98 kB / 3.587 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.239e-05/9.781, allocations: 30.22 kB / 3.587 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/9.783, allocations: 0.6167 MB / 3.587 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.242e-05/9.783, allocations: 41.17 kB / 3.588 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/9.789, allocations: 0.5021 MB / 3.588 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004222/9.789, allocations: 154.3 kB / 3.588 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/9.789, allocations: 5.031 kB / 3.588 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005765/9.795, allocations: 2.928 MB / 3.591 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.94e-05/9.795, allocations: 34.2 kB / 3.591 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/9.795, allocations: 31.27 kB / 3.591 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/9.797, allocations: 0.6043 MB / 3.592 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.854e-05/9.797, allocations: 40.48 kB / 3.592 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00619/9.803, allocations: 485.4 kB / 3.592 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/9.804, allocations: 148.4 kB / 3.592 GB, free: 8.727 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003698/9.808, allocations: 1.074 MB / 3.593 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002124/9.81, allocations: 492.6 kB / 3.594 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/9.822, allocations: 5.005 MB / 3.599 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001291/9.822, allocations: 52.11 kB / 3.599 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.809e-05/9.822, allocations: 0 / 3.599 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006924/9.829, allocations: 3.571 MB / 3.602 GB, free: 23.44 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02251/9.851, allocations: 9.275 MB / 3.611 GB, free: 22.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.689e-05/9.852, allocations: 15 kB / 3.611 GB, free: 22.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/9.854, allocations: 0.5353 MB / 3.612 GB, free: 22.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.275e-05/9.854, allocations: 13.44 kB / 3.612 GB, free: 22.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004117/9.854, allocations: 106.9 kB / 3.612 GB, free: 22.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.193e-05/9.854, allocations: 12.56 kB / 3.612 GB, free: 22.75 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/9.854, allocations: 2.719 kB / 3.612 GB, free: 22.75 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/9.866, allocations: 6.098 MB / 3.618 GB, free: 22.09 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004538/9.871, allocations: 1.137 MB / 3.619 GB, free: 21.66 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002343/9.873, allocations: 66.12 kB / 3.619 GB, free: 21.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006209/9.879, allocations: 384 kB / 3.619 GB, free: 21.64 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007023/9.88, allocations: 273.5 kB / 3.62 GB, free: 21.63 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006393/9.881, allocations: 149.2 kB / 3.62 GB, free: 21.63 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.007855/9.889, allocations: 2.691 MB / 3.623 GB, free: 21.45 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.1e-07/9.889, allocations: 0 / 3.623 GB, free: 21.45 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01647/9.905, allocations: 3.297 MB / 3.626 GB, free: 20.96 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (352): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008972/9.914, allocations: 3.816 MB / 3.629 GB, free: 19.25 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01105/9.925, allocations: 5.299 MB / 3.635 GB, free: 18.26 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/9.925, allocations: 3.719 kB / 3.635 GB, free: 18.26 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004237/9.929, allocations: 2.303 MB / 3.637 GB, free: 17.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01776/9.947, allocations: 2.193 MB / 3.639 GB, free: 17.69 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/9.972, allocations: 12.31 MB / 3.651 GB, free: 11.78 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003483/9.976, allocations: 2.872 MB / 3.654 GB, free: 10.92 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007391/9.983, allocations: 1.449 MB / 3.655 GB, free: 10.68 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/9.985, allocations: 477.4 kB / 3.656 GB, free: 10.66 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/9.985, allocations: 0 / 3.656 GB, free: 10.66 MB / 0.823 GB Notification: Performance of Templates: time 0.8412/10.83, allocations: 119 MB / 3.772 GB, free: 53.8 MB / 0.8386 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)