Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_9_Buildings_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.0008233/0.0008234, allocations: 91.84 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.0008759/0.000876, 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.436/1.436, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004548, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7817, allocations: 142.3 MB / 0.9538 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05846/0.8402, allocations: 56.04 MB / 1.009 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01999/0.8603, allocations: 13.72 MB / 1.022 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.8637, allocations: 55.62 kB / 1.022 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.8658, allocations: 0.4968 MB / 1.023 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006658/0.8725, allocations: 1.784 MB / 1.024 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004729/0.8772, allocations: 1.205 MB / 1.025 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006802/0.884, allocations: 4.524 MB / 1.03 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.8858, allocations: 0.9097 MB / 1.031 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003112/0.8889, allocations: 1.268 MB / 1.032 GB, free: 15.92 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.8905, allocations: 0.98 MB / 1.033 GB, free: 14.93 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.8907, allocations: 56 kB / 1.033 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.8939, allocations: 1.212 MB / 1.034 GB, free: 13.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.8942, allocations: 242.9 kB / 1.034 GB, free: 13.43 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005003/0.8947, allocations: 317 kB / 1.035 GB, free: 13.11 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.8972, allocations: 1.906 MB / 1.037 GB, free: 11.2 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8972, allocations: 0 / 1.037 GB, free: 11.2 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8972, allocations: 3.938 kB / 1.037 GB, free: 11.2 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.8972, allocations: 0 / 1.037 GB, free: 11.2 MB / 0.795 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.002666/0.8999, allocations: 1.596 MB / 1.038 GB, free: 9.543 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8999, allocations: 8.031 kB / 1.038 GB, free: 9.535 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002513/0.9002, allocations: 135.3 kB / 1.038 GB, free: 9.395 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.9005, allocations: 162.1 kB / 1.038 GB, free: 9.234 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.9025, allocations: 1.246 MB / 1.04 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.9026, allocations: 66 kB / 1.04 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.9027, allocations: 84 kB / 1.04 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.9045, allocations: 0.9514 MB / 1.041 GB, free: 6.789 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.9045, allocations: 7.938 kB / 1.041 GB, free: 6.781 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.9046, allocations: 39.95 kB / 1.041 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.9047, allocations: 20 kB / 1.041 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.9059, allocations: 0.6674 MB / 1.041 GB, free: 6.055 MB / 0.795 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.005735/0.9116, allocations: 5.217 MB / 1.047 GB, free: 436 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.9124, allocations: 400.5 kB / 1.047 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.9128, allocations: 250 kB / 1.047 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/0.9144, allocations: 1.607 MB / 1.049 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.9145, allocations: 42.98 kB / 1.049 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/0.9145, allocations: 0 / 1.049 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53): time 0.00222/0.9167, allocations: 0.9291 MB / 1.05 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.9168, allocations: 59.78 kB / 1.05 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.9181, allocations: 0.9772 MB / 1.051 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.9182, allocations: 37.7 kB / 1.051 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.9186, allocations: 0.5775 MB / 1.051 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.9188, allocations: 193.2 kB / 1.051 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.9189, allocations: 8 kB / 1.051 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.9191, allocations: 337.9 kB / 1.052 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.9194, allocations: 189.6 kB / 1.052 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.9199, allocations: 408.9 kB / 1.052 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.9204, allocations: 262 kB / 1.053 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.9204, allocations: 4 kB / 1.053 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001505/0.9219, allocations: 0.8302 MB / 1.053 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002897/0.9222, allocations: 265.5 kB / 1.054 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.9222, allocations: 8 kB / 1.054 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/0.9227, allocations: 108.7 kB / 1.054 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.9233, allocations: 139.8 kB / 1.054 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005857/0.9239, allocations: 0.603 MB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.9246, allocations: 100.4 kB / 1.055 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/0.9247, allocations: 39.98 kB / 1.055 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-06/0.9247, allocations: 4 kB / 1.055 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001358/0.9261, allocations: 0.7086 MB / 1.055 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.9261, allocations: 8 kB / 1.055 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.9266, allocations: 117.2 kB / 1.055 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.9273, allocations: 143.7 kB / 1.056 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004665/0.9278, allocations: 0.5952 MB / 1.056 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000778/0.9285, allocations: 115.3 kB / 1.056 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.9286, allocations: 35.98 kB / 1.056 GB, free: 5.707 MB / 0.8106 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.0005976/0.9292, allocations: 371.1 kB / 1.057 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.9294, allocations: 118.5 kB / 1.057 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.9315, allocations: 1.065 MB / 1.058 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.9315, allocations: 11.98 kB / 1.058 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.9315, allocations: 4 kB / 1.058 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/0.9327, allocations: 0.7952 MB / 1.059 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.9361, allocations: 2.102 MB / 1.061 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.9362, allocations: 4.094 kB / 1.061 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.9366, allocations: 103.9 kB / 1.061 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.9369, allocations: 72.73 kB / 1.061 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.937, allocations: 20 kB / 1.061 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004143/0.9374, allocations: 0.5836 MB / 1.061 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9374, allocations: 4.062 kB / 1.061 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.9395, allocations: 1.325 MB / 1.063 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.9401, allocations: 315.5 kB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.9402, allocations: 16 kB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.9408, allocations: 75.92 kB / 1.063 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.9409, allocations: 52.48 kB / 1.063 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/0.941, allocations: 35.97 kB / 1.063 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001082/0.9421, allocations: 0.6647 MB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9421, allocations: 0 / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001873/0.944, allocations: 0.7327 MB / 1.065 GB, free: 13.07 MB / 0.8262 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.003344/0.9473, allocations: 2.261 MB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.9494, allocations: 1.048 MB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9494, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.95, allocations: 426.5 kB / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.9526, allocations: 0.5815 MB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.9656, allocations: 6.785 MB / 1.075 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.9664, allocations: 1.133 MB / 1.076 GB, free: 440 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001244/0.9677, allocations: 317.3 kB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006659/0.9683, allocations: 499.3 kB / 1.077 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of SimCode: time 1.193e-06/0.9683, allocations: 0 / 1.077 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06731/1.036, allocations: 37.36 MB / 1.114 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/1.036, allocations: 281.4 kB / 1.114 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.752, allocations: 0 / 1.114 GB, free: 10.46 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal_res.mat does not exist to compare? outputFormat=mat