Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0008394/0.0008394, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009911/0.000991, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.703/1.703, allocations: 252 MB / 0.5102 GB, free: 4.816 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005822/0.0005824, allocations: 23.44 kB / 0.6243 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6266/0.6272, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.03979/0.6671, allocations: 41.17 MB / 0.7683 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02051/0.6876, allocations: 12.14 MB / 0.7802 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.69, allocations: 39.75 kB / 0.7802 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.6919, allocations: 409.3 kB / 0.7806 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.6984, allocations: 1.534 MB / 0.7821 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004139/0.7025, allocations: 0.9263 MB / 0.783 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006782/0.7093, allocations: 3.607 MB / 0.7865 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.7112, allocations: 0.7305 MB / 0.7873 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.7143, allocations: 1.065 MB / 0.7883 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.7161, allocations: 0.8206 MB / 0.7891 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.7163, allocations: 48 kB / 0.7891 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.7195, allocations: 1.119 MB / 0.7902 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.7198, allocations: 203 kB / 0.7904 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.7203, allocations: 269.1 kB / 0.7907 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.7232, allocations: 1.722 MB / 0.7924 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7232, allocations: 0 / 0.7924 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7232, allocations: 0 / 0.7924 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.7233, allocations: 0 / 0.7924 GB, free: 9.465 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003051/0.7263, allocations: 1.432 MB / 0.7938 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.7264, allocations: 8.031 kB / 0.7938 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.7267, allocations: 138.5 kB / 0.7939 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.7291, allocations: 1.155 MB / 0.795 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.7292, allocations: 49.31 kB / 0.7951 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.7293, allocations: 75.94 kB / 0.7952 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.7306, allocations: 0.7435 MB / 0.7959 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.7307, allocations: 4 kB / 0.7959 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.7307, allocations: 28 kB / 0.7959 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.7308, allocations: 20 kB / 0.7959 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.7319, allocations: 0.5243 MB / 0.7964 GB, free: 5.16 MB / 0.6075 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.005474/0.7373, allocations: 4.516 MB / 0.8009 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007045/0.7381, allocations: 360.1 kB / 0.8012 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.7384, allocations: 231.7 kB / 0.8014 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.7401, allocations: 1.519 MB / 0.8029 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.7401, allocations: 34.56 kB / 0.8029 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.905e-06/0.7401, allocations: 0 / 0.8029 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002224/0.7424, allocations: 0.8901 MB / 0.8038 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.7424, allocations: 55.41 kB / 0.8039 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.7438, allocations: 0.8754 MB / 0.8047 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.7439, allocations: 37.7 kB / 0.8047 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.7443, allocations: 495.7 kB / 0.8052 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.7445, allocations: 149.8 kB / 0.8054 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.7445, allocations: 12 kB / 0.8054 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7447, allocations: 329.9 kB / 0.8057 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.745, allocations: 176.9 kB / 0.8059 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.7455, allocations: 327.1 kB / 0.8062 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.7459, allocations: 224.6 kB / 0.8064 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.7459, allocations: 4 kB / 0.8064 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00143/0.7474, allocations: 0.7057 MB / 0.8071 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.7475, allocations: 209.5 kB / 0.8073 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.7475, allocations: 8 kB / 0.8073 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.7481, allocations: 124.8 kB / 0.8074 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.7485, allocations: 115.8 kB / 0.8075 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005617/0.7491, allocations: 0.6264 MB / 0.8081 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.7498, allocations: 95.39 kB / 0.8082 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.7499, allocations: 27.98 kB / 0.8082 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.7499, allocations: 9.828 kB / 0.8083 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/0.7511, allocations: 0.6017 MB / 0.8088 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.7512, allocations: 4 kB / 0.8088 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/0.7516, allocations: 116.7 kB / 0.809 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.752, allocations: 120 kB / 0.8091 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000469/0.7525, allocations: 0.6226 MB / 0.8097 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006118/0.7531, allocations: 83.55 kB / 0.8098 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.7531, allocations: 27.98 kB / 0.8098 GB, free: 6.473 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 56 * 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.0005391/0.7537, allocations: 345 kB / 0.8101 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.7538, allocations: 98.78 kB / 0.8102 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.7557, allocations: 1.007 MB / 0.8112 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.7558, allocations: 19.98 kB / 0.8112 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7558, allocations: 0 / 0.8112 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001265/0.7571, allocations: 0.9241 MB / 0.8121 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.7601, allocations: 1.939 MB / 0.814 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.7602, allocations: 11.94 kB / 0.814 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.7605, allocations: 87.89 kB / 0.8141 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/0.7609, allocations: 84.89 kB / 0.8142 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.7609, allocations: 19.98 kB / 0.8142 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004612/0.7614, allocations: 0.6225 MB / 0.8148 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7614, allocations: 4.031 kB / 0.8148 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.7633, allocations: 1.255 MB / 0.816 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.7638, allocations: 283.7 kB / 0.8163 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.764, allocations: 19.98 kB / 0.8163 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.7645, allocations: 63.8 kB / 0.8164 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.7646, allocations: 44.44 kB / 0.8164 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.7647, allocations: 27.98 kB / 0.8165 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009959/0.7657, allocations: 0.6098 MB / 0.817 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7657, allocations: 0 / 0.817 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001752/0.7674, allocations: 0.6081 MB / 0.8176 GB, free: 14.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.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 (55): * Single equations (assignments): 40 * 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.001046/0.7685, allocations: 0.4969 MB / 0.8181 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.7702, allocations: 0.9233 MB / 0.819 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7702, allocations: 0 / 0.819 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.7708, allocations: 403.8 kB / 0.8194 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.7728, allocations: 472.8 kB / 0.8199 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.7764, allocations: 2.344 MB / 0.8222 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/0.7772, allocations: 1.058 MB / 0.8232 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009919/0.7782, allocations: 270.4 kB / 0.8234 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.7784, allocations: 99.34 kB / 0.8235 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of SimCode: time 1.163e-06/0.7784, allocations: 0 / 0.8235 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of Templates: time 0.04155/0.8199, allocations: 23.01 MB / 0.846 GB, free: 1.406 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) Environment - environmentSimulation: