Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumDisPipe_R.m_flow_actual|pumDisPlugFlow.m_flow_actual|pumConPipe_R.m_flow_actual|pumConPlugFlow.m_flow_actual|pumDisPipe_R.port_a.p|pumDisPipe_R.port_b.p|pumDisPlugFlow.port_a.p|pumDisPlugFlow.port_b.p",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample") translateModel(Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumDisPipe_R.m_flow_actual|pumDisPlugFlow.m_flow_actual|pumConPipe_R.m_flow_actual|pumConPlugFlow.m_flow_actual|pumDisPipe_R.port_a.p|pumDisPipe_R.port_b.p|pumDisPlugFlow.port_a.p|pumDisPlugFlow.port_b.p",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 114.3 kB / 16.81 MB, free: 5.777 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.001232/0.001232, allocations: 199.1 kB / 17.77 MB, free: 5.129 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.467/1.467, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.22 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3769, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample): time 1.289/1.666, allocations: 383.1 MB / 1.636 GB, free: 47.73 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.1315/1.798, allocations: 92.42 MB / 1.726 GB, free: 35.16 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02573/1.823, allocations: 436.1 kB / 1.727 GB, free: 35.15 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01933/1.843, allocations: 6.163 MB / 1.733 GB, free: 32.03 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.04196/1.885, allocations: 14.52 MB / 1.747 GB, free: 22.39 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.02563/1.91, allocations: 9.743 MB / 1.757 GB, free: 15.88 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.07874/1.989, allocations: 50.36 MB / 1.806 GB, free: 3.574 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0229/2.012, allocations: 7.748 MB / 1.813 GB, free: 11.84 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03468/2.047, allocations: 11.49 MB / 1.825 GB, free: 1.008 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02135/2.068, allocations: 8.246 MB / 1.833 GB, free: 9.336 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.006444/2.074, allocations: 1.113 MB / 1.834 GB, free: 8.223 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02658/2.101, allocations: 6.405 MB / 1.84 GB, free: 2.156 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.008633/2.11, allocations: 3.566 MB / 1.843 GB, free: 14.58 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02003/2.13, allocations: 6.389 MB / 1.85 GB, free: 8.16 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.05187/2.181, allocations: 20.1 MB / 1.869 GB, free: 3.988 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/2.181, allocations: 0 / 1.869 GB, free: 3.988 MB / 1.357 GB Notification: Performance of FrontEnd: time 2.054e-06/2.181, allocations: 0 / 1.869 GB, free: 3.988 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0006852/2.182, allocations: 0 / 1.869 GB, free: 3.988 MB / 1.357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1291 * Number of variables: 1291 Notification: Performance of Generate backend data structure: time 0.03776/2.22, allocations: 12.88 MB / 1.882 GB, free: 6.984 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/2.22, allocations: 8.031 kB / 1.882 GB, free: 6.977 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/2.234, allocations: 2.26 MB / 1.884 GB, free: 4.711 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03543/2.269, allocations: 13.46 MB / 1.897 GB, free: 7.148 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005956/2.27, allocations: 422.1 kB / 1.898 GB, free: 6.734 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/2.273, allocations: 0.5585 MB / 1.898 GB, free: 6.176 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/2.292, allocations: 6.929 MB / 1.905 GB, free: 14.93 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/2.292, allocations: 23.77 kB / 1.905 GB, free: 14.91 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006489/2.292, allocations: 212 kB / 1.905 GB, free: 14.7 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/2.293, allocations: 147.7 kB / 1.905 GB, free: 14.56 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/2.308, allocations: 5.337 MB / 1.91 GB, free: 9.207 MB / 1.404 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.08317/2.391, allocations: 41.15 MB / 1.951 GB, free: 13.18 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/2.401, allocations: 3.511 MB / 1.954 GB, free: 9.656 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/2.405, allocations: 1.496 MB / 1.956 GB, free: 8.164 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03322/2.438, allocations: 13.16 MB / 1.968 GB, free: 10.19 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.74e-05/2.438, allocations: 60.56 kB / 1.968 GB, free: 10.12 MB / 1.467 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004074/2.442, allocations: 341.2 kB / 1.969 GB, free: 9.785 MB / 1.467 GB Notification: Performance of pre-optimization done (n=212): time 1.141e-05/2.442, allocations: 0 / 1.969 GB, free: 9.785 MB / 1.467 GB Notification: Performance of matching and sorting (n=212): time 0.01459/2.457, allocations: 5.238 MB / 1.974 GB, free: 4.492 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/2.457, allocations: 77.41 kB / 1.974 GB, free: 4.406 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02022/2.477, allocations: 9.453 MB / 1.983 GB, free: 11 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.001166/2.478, allocations: 93.7 kB / 1.983 GB, free: 10.91 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.006349/2.485, allocations: 4.752 MB / 1.988 GB, free: 6.129 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/2.487, allocations: 0.8291 MB / 1.989 GB, free: 5.293 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003194/2.49, allocations: 1.48 MB / 1.99 GB, free: 3.797 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 0.0002062/2.49, allocations: 309.1 kB / 1.991 GB, free: 3.492 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006544/2.497, allocations: 3.744 MB / 1.994 GB, free: 15.73 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009492/2.506, allocations: 5.827 MB / 2 GB, free: 8.98 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01681/2.523, allocations: 8.721 MB / 2.008 GB, free: 15.41 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.839e-05/2.523, allocations: 16 kB / 2.008 GB, free: 15.4 MB / 1.514 GB Notification: Performance of matching and sorting (n=841) (initialization): time 0.02632/2.549, allocations: 10.69 MB / 2.019 GB, free: 4.633 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/2.549, allocations: 28 kB / 2.019 GB, free: 4.605 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/2.549, allocations: 60 kB / 2.019 GB, free: 4.547 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/2.551, allocations: 337.7 kB / 2.019 GB, free: 4.211 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01208/2.563, allocations: 2.145 MB / 2.021 GB, free: 2.062 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005614/2.569, allocations: 5.378 MB / 2.027 GB, free: 12.49 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/2.579, allocations: 0.6484 MB / 2.027 GB, free: 11.84 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/2.581, allocations: 355.9 kB / 2.028 GB, free: 11.5 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01126/2.592, allocations: 5.291 MB / 2.033 GB, free: 6.195 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008855/2.601, allocations: 5.45 MB / 2.038 GB, free: 15.81 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01476/2.616, allocations: 7.941 MB / 2.046 GB, free: 7.012 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.331e-05/2.616, allocations: 20 kB / 2.046 GB, free: 6.992 MB / 1.545 GB Notification: Performance of matching and sorting (n=841) (initialization_lambda0): time 0.02697/2.643, allocations: 9.88 MB / 2.055 GB, free: 13.03 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/2.643, allocations: 32 kB / 2.055 GB, free: 13 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/2.643, allocations: 63.98 kB / 2.056 GB, free: 12.94 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/2.644, allocations: 349.5 kB / 2.056 GB, free: 12.59 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/2.656, allocations: 2.133 MB / 2.058 GB, free: 10.45 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/2.659, allocations: 2.632 MB / 2.061 GB, free: 7.723 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.67, allocations: 0.6525 MB / 2.061 GB, free: 7.07 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/2.672, allocations: 331.9 kB / 2.061 GB, free: 6.746 MB / 1.561 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * 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 (687): * Single equations (assignments): 667 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001777/2.674, allocations: 0.522 MB / 2.062 GB, free: 6.215 MB / 1.561 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003351/2.677, allocations: 0.9041 MB / 2.063 GB, free: 5.305 MB / 1.561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/2.689, allocations: 4.836 MB / 2.068 GB, free: 484 kB / 1.561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007044/2.696, allocations: 3.211 MB / 2.071 GB, free: 13.2 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/2.696, allocations: 4 kB / 2.071 GB, free: 13.2 MB / 1.576 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006032/2.702, allocations: 1.471 MB / 2.072 GB, free: 11.7 MB / 1.576 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003806/2.706, allocations: 63.92 kB / 2.072 GB, free: 11.64 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007633/2.713, allocations: 295.4 kB / 2.073 GB, free: 11.35 MB / 1.576 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007243/2.714, allocations: 189.7 kB / 2.073 GB, free: 11.16 MB / 1.576 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01073/2.725, allocations: 4.126 MB / 2.077 GB, free: 6.965 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01334/2.738, allocations: 6.4 MB / 2.083 GB, free: 492 kB / 1.576 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003112/2.741, allocations: 1.562 MB / 2.085 GB, free: 14.9 MB / 1.592 GB Notification: Performance of sorting global known variables: time 0.01378/2.755, allocations: 6.249 MB / 2.091 GB, free: 8.699 MB / 1.592 GB Notification: Performance of Backend: time 5.41e-07/2.755, allocations: 0 / 2.091 GB, free: 8.699 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.04693/2.802, allocations: 13.85 MB / 2.104 GB, free: 10.86 MB / 1.607 GB Notification: Performance of SimCode: time 0.05121/2.853, allocations: 20.8 MB / 2.124 GB, free: 6.141 MB / 1.623 GB Notification: Performance of Templates: time 1.801/4.654, allocations: 209.7 MB / 2.329 GB, free: 0.5649 GB / 1.686 GB make -j1 -f Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.makefile (rm -f Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.sim & ./Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe 2>&1)