Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001596/0.001596, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.124/1.124, allocations: 143.4 MB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2668, allocations: 83.42 MB / 0.5976 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.6074/0.8743, allocations: 56.01 MB / 0.6522 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.8935, allocations: 13.74 MB / 0.6657 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.8965, allocations: 56.12 kB / 0.6657 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.8987, allocations: 0.4964 MB / 0.6662 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007497/0.9062, allocations: 1.786 MB / 0.6679 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006074/0.9123, allocations: 1.202 MB / 0.6691 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.923, allocations: 4.529 MB / 0.6735 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.9264, allocations: 0.9089 MB / 0.6744 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005408/0.9318, allocations: 1.273 MB / 0.6757 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.9358, allocations: 0.9838 MB / 0.6766 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009686/0.9368, allocations: 52.38 kB / 0.6767 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008103/0.9449, allocations: 1.215 MB / 0.6779 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.946, allocations: 242.4 kB / 0.6781 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.9475, allocations: 316.6 kB / 0.6784 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005398/0.9529, allocations: 2.023 MB / 0.6804 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.953, allocations: 0 / 0.6804 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.094e-06/0.953, allocations: 1.094 kB / 0.6804 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001049/0.9531, allocations: 0 / 0.6804 GB, free: 8.637 MB / 0.5137 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.005575/0.9587, allocations: 1.587 MB / 0.6819 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.9587, allocations: 10.09 kB / 0.6819 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005739/0.9593, allocations: 135.2 kB / 0.6821 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009756/0.9603, allocations: 163.6 kB / 0.6822 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/0.9644, allocations: 1.248 MB / 0.6834 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.9645, allocations: 65.67 kB / 0.6835 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/0.9649, allocations: 93.52 kB / 0.6836 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.9678, allocations: 0.9562 MB / 0.6845 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/0.9678, allocations: 1.781 kB / 0.6845 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.968, allocations: 36.41 kB / 0.6846 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.9681, allocations: 23.78 kB / 0.6846 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.9699, allocations: 0.6596 MB / 0.6852 GB, free: 5.852 MB / 0.5137 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.009046/0.9789, allocations: 5.237 MB / 0.6903 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/0.9799, allocations: 396.4 kB / 0.6907 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.9804, allocations: 246.3 kB / 0.691 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/0.9822, allocations: 1.598 MB / 0.6925 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.9823, allocations: 42.7 kB / 0.6926 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 3.096e-06/0.9823, allocations: 3.938 kB / 0.6926 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002945/0.9853, allocations: 0.9484 MB / 0.6935 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.9853, allocations: 57.66 kB / 0.6935 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.9877, allocations: 0.9761 MB / 0.6945 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.9878, allocations: 36.2 kB / 0.6945 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006942/0.9885, allocations: 0.5691 MB / 0.6951 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.9888, allocations: 192.9 kB / 0.6953 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.9889, allocations: 10.75 kB / 0.6953 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.9891, allocations: 337.9 kB / 0.6956 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.9896, allocations: 193 kB / 0.6958 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/0.9903, allocations: 401.6 kB / 0.6962 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.9909, allocations: 260.9 kB / 0.6964 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.9909, allocations: 2.922 kB / 0.6964 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002246/0.9931, allocations: 0.8313 MB / 0.6972 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002385/0.9934, allocations: 262.8 kB / 0.6975 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/0.9934, allocations: 12.36 kB / 0.6975 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/0.994, allocations: 110.4 kB / 0.6976 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.9946, allocations: 143.3 kB / 0.6977 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005328/0.9951, allocations: 0.5923 MB / 0.6983 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.9963, allocations: 117.4 kB / 0.6984 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.9964, allocations: 37.95 kB / 0.6985 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.9965, allocations: 4.562 kB / 0.6985 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001681/0.9981, allocations: 0.6986 MB / 0.6992 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/0.9982, allocations: 11.31 kB / 0.6992 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004772/0.9987, allocations: 106.6 kB / 0.6993 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.9992, allocations: 142.1 kB / 0.6994 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004875/0.9997, allocations: 0.6002 MB / 0.7 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.001, allocations: 107.4 kB / 0.7001 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.001, allocations: 35.8 kB / 0.7001 GB, free: 10.98 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007602/1.002, allocations: 378.7 kB / 0.7005 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/1.002, allocations: 110 kB / 0.7006 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/1.005, allocations: 1.081 MB / 0.7016 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/1.005, allocations: 10.05 kB / 0.7017 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.005, allocations: 0 / 0.7017 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001567/1.006, allocations: 0.8034 MB / 0.7024 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/1.011, allocations: 2.105 MB / 0.7045 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.011, allocations: 2.281 kB / 0.7045 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/1.011, allocations: 103.6 kB / 0.7046 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/1.012, allocations: 71.83 kB / 0.7047 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/1.012, allocations: 20.19 kB / 0.7047 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005424/1.012, allocations: 0.5844 MB / 0.7053 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.012, allocations: 10.05 kB / 0.7053 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/1.015, allocations: 1.312 MB / 0.7065 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008873/1.016, allocations: 323.1 kB / 0.7069 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004065/1.017, allocations: 12.53 kB / 0.7069 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.018, allocations: 81.86 kB / 0.7069 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/1.018, allocations: 54.25 kB / 0.707 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.018, allocations: 32.86 kB / 0.707 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00163/1.02, allocations: 0.669 MB / 0.7077 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.02, allocations: 0 / 0.7077 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004094/1.024, allocations: 0.7276 MB / 0.7084 GB, free: 6.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00513/1.029, allocations: 2.285 MB / 0.7106 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002537/1.031, allocations: 1.046 MB / 0.7116 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.032, allocations: 0 / 0.7116 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/1.032, allocations: 430.7 kB / 0.7121 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.036, allocations: 0.5763 MB / 0.7126 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/1.053, allocations: 6.789 MB / 0.7192 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.055, allocations: 1.137 MB / 0.7204 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001712/1.056, allocations: 308.5 kB / 0.7207 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008965/1.057, allocations: 495.2 kB / 0.7211 GB, free: 11.73 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/1.057, allocations: 0 / 0.7211 GB, free: 11.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07646/1.134, allocations: 37.82 MB / 0.7581 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/1.134, allocations: 284.2 kB / 0.7583 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.274/4.408, allocations: 2.344 kB / 0.7583 GB, free: 6.211 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) Environment - environmentSimulation: