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.0009398/0.0009399, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009733/0.0009737, allocations: 179.3 kB / 16.92 MB, free: 6.922 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.39/1.39, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7751/0.7751, allocations: 123 MB / 415.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 8 kB / 0.4933 GB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.452, allocations: 79.29 MB / 0.5708 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06411/0.5162, allocations: 59.23 MB / 0.6286 GB, free: 15 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02309/0.5393, allocations: 14.56 MB / 0.6428 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003846/0.5432, allocations: 51.69 kB / 0.6429 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.5459, allocations: 0.5866 MB / 0.6434 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007545/0.5534, allocations: 2.084 MB / 0.6455 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005463/0.5589, allocations: 1.507 MB / 0.6469 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008271/0.5672, allocations: 5.279 MB / 0.6521 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.5692, allocations: 1.036 MB / 0.6531 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.5728, allocations: 1.322 MB / 0.6544 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.5747, allocations: 1.042 MB / 0.6554 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.5748, allocations: 52 kB / 0.6555 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/0.579, allocations: 1.586 MB / 0.657 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.5793, allocations: 254.8 kB / 0.6573 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.5803, allocations: 0.7168 MB / 0.658 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004636/0.585, allocations: 2.609 MB / 0.6605 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.585, allocations: 0 / 0.6605 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.585, allocations: 0 / 0.6605 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.585, allocations: 0 / 0.6605 GB, free: 0.5234 MB / 494.1 MB 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.002813/0.5879, allocations: 1.573 MB / 0.662 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5879, allocations: 8.031 kB / 0.662 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.5883, allocations: 166.9 kB / 0.6622 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.5904, allocations: 1.284 MB / 0.6635 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.5905, allocations: 62 kB / 0.6635 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.5906, allocations: 91.91 kB / 0.6636 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.5922, allocations: 0.963 MB / 0.6645 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.5923, allocations: 4 kB / 0.6646 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.5924, allocations: 40 kB / 0.6646 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.5924, allocations: 20 kB / 0.6646 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.5937, allocations: 0.6713 MB / 0.6653 GB, free: 11.49 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.005993/0.5997, allocations: 5.22 MB / 0.6704 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.6005, allocations: 408.3 kB / 0.6708 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.6009, allocations: 242.1 kB / 0.671 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.6023, allocations: 1.599 MB / 0.6725 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.6024, allocations: 42.94 kB / 0.6726 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.156e-06/0.6024, allocations: 4 kB / 0.6726 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002666/0.6051, allocations: 0.9446 MB / 0.6735 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.6051, allocations: 59.84 kB / 0.6736 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.6068, allocations: 0.9889 MB / 0.6745 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/0.6069, allocations: 33.7 kB / 0.6746 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/0.6074, allocations: 0.5697 MB / 0.6751 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.6076, allocations: 193.2 kB / 0.6753 GB, free: 348 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.6077, allocations: 57.69 kB / 0.6754 GB, free: 284 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6078, allocations: 334 kB / 0.6757 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.6082, allocations: 201.5 kB / 0.6759 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.6087, allocations: 408.9 kB / 0.6763 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009174/0.6096, allocations: 0.6295 MB / 0.6769 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6096, allocations: 3.938 kB / 0.6769 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001842/0.6115, allocations: 0.8301 MB / 0.6777 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.6117, allocations: 261.5 kB / 0.6779 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.6117, allocations: 8 kB / 0.6779 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000567/0.6123, allocations: 108.7 kB / 0.6781 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.6128, allocations: 147.7 kB / 0.6782 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005174/0.6133, allocations: 0.5993 MB / 0.6788 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009388/0.6143, allocations: 119.2 kB / 0.6789 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/0.6143, allocations: 39.97 kB / 0.6789 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.6144, allocations: 4 kB / 0.6789 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/0.6158, allocations: 0.7126 MB / 0.6796 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.6159, allocations: 8 kB / 0.6796 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000479/0.6164, allocations: 109.2 kB / 0.6797 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.6168, allocations: 139.8 kB / 0.6799 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004567/0.6173, allocations: 0.5952 MB / 0.6805 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008215/0.6181, allocations: 99.55 kB / 0.6806 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.6182, allocations: 35.98 kB / 0.6806 GB, free: 10.62 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.0006081/0.6188, allocations: 384.3 kB / 0.681 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.619, allocations: 114.6 kB / 0.6811 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.6211, allocations: 1.063 MB / 0.6821 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.6211, allocations: 15.98 kB / 0.6821 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6211, allocations: 0 / 0.6821 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001336/0.6225, allocations: 0.8108 MB / 0.6829 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.6259, allocations: 2.087 MB / 0.6849 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.6259, allocations: 4.078 kB / 0.6849 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.6263, allocations: 103.9 kB / 0.685 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/0.6267, allocations: 76.8 kB / 0.6851 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.6267, allocations: 19.98 kB / 0.6851 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004254/0.6271, allocations: 0.5952 MB / 0.6857 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6272, allocations: 4.062 kB / 0.6857 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.6293, allocations: 1.325 MB / 0.687 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/0.6298, allocations: 315.3 kB / 0.6873 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.6299, allocations: 15.98 kB / 0.6873 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.6306, allocations: 87.78 kB / 0.6874 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.6307, allocations: 52.42 kB / 0.6875 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.6308, allocations: 39.97 kB / 0.6875 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001039/0.6318, allocations: 0.6687 MB / 0.6882 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6318, allocations: 0 / 0.6882 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00199/0.6338, allocations: 0.7367 MB / 0.6889 GB, free: 1.93 MB / 0.5137 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.001139/0.635, allocations: 0.576 MB / 0.6894 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.637, allocations: 1.052 MB / 0.6905 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.637, allocations: 0 / 0.6905 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006352/0.6376, allocations: 431.7 kB / 0.6909 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.6406, allocations: 0.5593 MB / 0.6914 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.6443, allocations: 2.706 MB / 0.6941 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.6451, allocations: 1.133 MB / 0.6952 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001092/0.6462, allocations: 318.8 kB / 0.6955 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.6464, allocations: 107.4 kB / 0.6956 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of SimCode: time 2.164e-06/0.6464, allocations: 0 / 0.6956 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.04462/0.691, allocations: 26.46 MB / 0.7214 GB, free: 0.8633 MB / 0.545 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)