Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 103.2 kB / 15.98 MB, free: 6.355 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.001601/0.001601, allocations: 200.8 kB / 16.91 MB, free: 6.199 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.321/1.321, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8686/0.8686, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 59.89 kB / 0.4906 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3581, allocations: 77.92 MB / 0.5667 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05342/0.4116, allocations: 60.2 MB / 0.6255 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02144/0.4331, allocations: 14.57 MB / 0.6397 GB, free: 64 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00383/0.4369, allocations: 55.62 kB / 0.6398 GB, free: 8 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002971/0.44, allocations: 0.6256 MB / 0.6404 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007837/0.4478, allocations: 2.083 MB / 0.6424 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005889/0.4538, allocations: 1.544 MB / 0.6439 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006417/0.4602, allocations: 4.065 MB / 0.6479 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.4627, allocations: 1.262 MB / 0.6491 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004372/0.4671, allocations: 1.601 MB / 0.6507 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.4694, allocations: 1.108 MB / 0.6518 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006277/0.4701, allocations: 132 kB / 0.6519 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00442/0.4745, allocations: 1.735 MB / 0.6536 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005681/0.4751, allocations: 342.8 kB / 0.6539 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.4767, allocations: 0.7893 MB / 0.6547 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.4822, allocations: 2.703 MB / 0.6573 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4822, allocations: 0 / 0.6573 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4822, allocations: 0 / 0.6573 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.325e-05/0.4823, allocations: 0 / 0.6573 GB, free: 13.96 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003674/0.486, allocations: 1.849 MB / 0.6591 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4861, allocations: 8.625 kB / 0.6591 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.4866, allocations: 159.2 kB / 0.6593 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.4887, allocations: 1.293 MB / 0.6605 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.4888, allocations: 66 kB / 0.6606 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.4889, allocations: 87.98 kB / 0.6607 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.4905, allocations: 0.9591 MB / 0.6616 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.4906, allocations: 3.906 kB / 0.6616 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.173e-05/0.4907, allocations: 40 kB / 0.6617 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.4907, allocations: 24 kB / 0.6617 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.4919, allocations: 0.6674 MB / 0.6623 GB, free: 8.652 MB / 0.4981 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.005627/0.4975, allocations: 5.212 MB / 0.6674 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008071/0.4983, allocations: 397.3 kB / 0.6678 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.4987, allocations: 244 kB / 0.668 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.5002, allocations: 1.583 MB / 0.6696 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.5003, allocations: 50.92 kB / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/0.5003, allocations: 0 / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002446/0.5027, allocations: 0.9368 MB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.5028, allocations: 55.84 kB / 0.6706 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.5041, allocations: 0.9927 MB / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.5042, allocations: 37.7 kB / 0.6716 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.5047, allocations: 0.5736 MB / 0.6722 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.5049, allocations: 193.2 kB / 0.6724 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.5051, allocations: 146.1 kB / 0.6725 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5053, allocations: 330 kB / 0.6728 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.5056, allocations: 199.7 kB / 0.673 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.5062, allocations: 408.9 kB / 0.6734 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000992/0.5072, allocations: 0.6256 MB / 0.674 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.5072, allocations: 0 / 0.674 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00194/0.5092, allocations: 0.8301 MB / 0.6748 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.5092, allocations: 8 kB / 0.6748 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/0.5093, allocations: 11.98 kB / 0.6748 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/0.5099, allocations: 105.2 kB / 0.6749 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.5104, allocations: 135.8 kB / 0.6751 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005909/0.511, allocations: 0.603 MB / 0.6757 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.512, allocations: 111.3 kB / 0.6758 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/0.5121, allocations: 35.98 kB / 0.6758 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000762/0.5129, allocations: 441.7 kB / 0.6762 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000516/0.5134, allocations: 394.5 kB / 0.6766 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009126/0.5144, allocations: 0.6295 MB / 0.6772 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.287e-06/0.5144, allocations: 0 / 0.6772 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001659/0.516, allocations: 0.8302 MB / 0.678 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5161, allocations: 8 kB / 0.678 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5161, allocations: 12.45 kB / 0.678 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.5166, allocations: 108.8 kB / 0.6781 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.517, allocations: 139.8 kB / 0.6783 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004493/0.5175, allocations: 0.5992 MB / 0.6789 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008109/0.5183, allocations: 95.45 kB / 0.6789 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.5184, allocations: 39.92 kB / 0.679 GB, free: 6.336 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.5186, allocations: 213.3 kB / 0.6792 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.5189, allocations: 110.7 kB / 0.6793 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.5212, allocations: 1.075 MB / 0.6803 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.5212, allocations: 8 kB / 0.6804 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5212, allocations: 4 kB / 0.6804 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.5227, allocations: 0.8147 MB / 0.6812 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.5266, allocations: 2.083 MB / 0.6832 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.5266, allocations: 4 kB / 0.6832 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.527, allocations: 99.97 kB / 0.6833 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/0.5274, allocations: 76.75 kB / 0.6834 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.5275, allocations: 16 kB / 0.6834 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004857/0.528, allocations: 0.5913 MB / 0.6839 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.528, allocations: 4.031 kB / 0.684 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.5303, allocations: 1.314 MB / 0.6852 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/0.531, allocations: 295.3 kB / 0.6855 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.5312, allocations: 12 kB / 0.6855 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/0.5321, allocations: 87.66 kB / 0.6856 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5322, allocations: 56.42 kB / 0.6857 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.994e-05/0.5323, allocations: 35.97 kB / 0.6857 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001322/0.5336, allocations: 0.6803 MB / 0.6864 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5336, allocations: 0 / 0.6864 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002147/0.5358, allocations: 0.7406 MB / 0.6871 GB, free: 13.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * 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 (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.5373, allocations: 0.5583 MB / 0.6876 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.5398, allocations: 1.114 MB / 0.6887 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.5398, allocations: 4.625 kB / 0.6887 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.5405, allocations: 430.5 kB / 0.6891 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/0.5433, allocations: 0.6 MB / 0.6897 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/0.5477, allocations: 2.623 MB / 0.6923 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.5487, allocations: 1.133 MB / 0.6934 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001255/0.55, allocations: 307 kB / 0.6937 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.5503, allocations: 107.4 kB / 0.6938 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.5503, allocations: 4 kB / 0.6938 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of Templates: time 0.04878/0.5991, allocations: 27.5 MB / 0.7206 GB, free: 11.8 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)