Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_latest_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.001138/0.001138, 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.001421/0.001421, 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.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.754/2.754, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005611/0.0005615, allocations: 15.98 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8399, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05183/0.8918, allocations: 56.04 MB / 1.036 GB, free: 14.05 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01973/0.9116, allocations: 13.71 MB / 1.049 GB, free: 320 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.914, allocations: 51.69 kB / 1.049 GB, free: 268 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.916, allocations: 0.5085 MB / 1.05 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005877/0.9219, allocations: 1.787 MB / 1.052 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004202/0.9261, allocations: 1.201 MB / 1.053 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006352/0.9325, allocations: 4.532 MB / 1.057 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.9347, allocations: 0.9097 MB / 1.058 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.9382, allocations: 1.264 MB / 1.059 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.9403, allocations: 0.9839 MB / 1.06 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.9406, allocations: 48 kB / 1.06 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.9442, allocations: 1.22 MB / 1.061 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.9446, allocations: 234.9 kB / 1.062 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000699/0.9453, allocations: 320.9 kB / 1.062 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003207/0.9485, allocations: 1.917 MB / 1.064 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9485, allocations: 0 / 1.064 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.016e-06/0.9485, allocations: 0 / 1.064 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.643e-05/0.9486, allocations: 4 kB / 1.064 GB, free: 1.285 MB / 0.8106 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.002806/0.9514, allocations: 1.581 MB / 1.065 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.9514, allocations: 8.031 kB / 1.065 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.9516, allocations: 135.3 kB / 1.066 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.952, allocations: 166.1 kB / 1.066 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.9541, allocations: 1.242 MB / 1.067 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.9541, allocations: 66 kB / 1.067 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.9543, allocations: 91.89 kB / 1.067 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.9557, allocations: 0.9514 MB / 1.068 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.9558, allocations: 0 / 1.068 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.602e-05/0.9558, allocations: 40 kB / 1.068 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.9559, allocations: 20 kB / 1.068 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.957, allocations: 0.6635 MB / 1.069 GB, free: 12.16 MB / 0.8262 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.005081/0.9621, allocations: 5.22 MB / 1.074 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.9628, allocations: 401.9 kB / 1.074 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.9631, allocations: 243.1 kB / 1.074 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.9644, allocations: 1.603 MB / 1.076 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.9644, allocations: 35 kB / 1.076 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.9644, allocations: 0 / 1.076 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53): time 0.00205/0.9665, allocations: 0.9563 MB / 1.077 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.9665, allocations: 55.84 kB / 1.077 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.9677, allocations: 0.9772 MB / 1.078 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.9678, allocations: 41.7 kB / 1.078 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.9682, allocations: 0.5735 MB / 1.079 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.9683, allocations: 193.2 kB / 1.079 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.9684, allocations: 8 kB / 1.079 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.9685, allocations: 334 kB / 1.079 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.9688, allocations: 189.6 kB / 1.079 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.9692, allocations: 408.9 kB / 1.08 GB, free: 24 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.9696, allocations: 258.2 kB / 1.08 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.9697, allocations: 4 kB / 1.08 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001443/0.9711, allocations: 0.8267 MB / 1.081 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.9713, allocations: 265.8 kB / 1.081 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.9713, allocations: 15.97 kB / 1.081 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/0.9718, allocations: 108.7 kB / 1.081 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.9722, allocations: 147.8 kB / 1.081 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004109/0.9726, allocations: 0.5991 MB / 1.082 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.9734, allocations: 115.2 kB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.9734, allocations: 35.98 kB / 1.082 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.9734, allocations: 4 kB / 1.082 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.9747, allocations: 0.7009 MB / 1.083 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.9748, allocations: 8 kB / 1.083 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004141/0.9752, allocations: 109.2 kB / 1.083 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.9756, allocations: 139.8 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003648/0.976, allocations: 0.5953 MB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.9766, allocations: 115.4 kB / 1.084 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.9767, allocations: 32 kB / 1.084 GB, free: 11.82 MB / 0.8419 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.0004489/0.9771, allocations: 376.8 kB / 1.084 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.9773, allocations: 110.6 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.9791, allocations: 1.069 MB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.9791, allocations: 15.98 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9792, allocations: 0 / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/0.9803, allocations: 0.803 MB / 1.086 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.9833, allocations: 2.091 MB / 1.088 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.9833, allocations: 7.984 kB / 1.088 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.9837, allocations: 95.89 kB / 1.088 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/0.984, allocations: 68.81 kB / 1.088 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.9841, allocations: 19.98 kB / 1.088 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003544/0.9844, allocations: 0.5953 MB / 1.089 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.9845, allocations: 0 / 1.089 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.9863, allocations: 1.321 MB / 1.09 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.9868, allocations: 315.3 kB / 1.09 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.9869, allocations: 15.98 kB / 1.09 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/0.9875, allocations: 80.56 kB / 1.09 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.9876, allocations: 56.44 kB / 1.09 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.9877, allocations: 35.97 kB / 1.09 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009019/0.9886, allocations: 0.6608 MB / 1.091 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9886, allocations: 0 / 1.091 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001802/0.9904, allocations: 0.7327 MB / 1.092 GB, free: 3.184 MB / 0.8419 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.002807/0.9932, allocations: 2.273 MB / 1.094 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.995, allocations: 1.048 MB / 1.095 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.9951, allocations: 0 / 1.095 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005635/0.9956, allocations: 430.5 kB / 1.095 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/0.9982, allocations: 0.571 MB / 1.096 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/1.01, allocations: 6.794 MB / 1.103 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/1.011, allocations: 1.133 MB / 1.104 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001359/1.013, allocations: 305.8 kB / 1.104 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/1.013, allocations: 0.4928 MB / 1.105 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of SimCode: time 1.282e-06/1.013, allocations: 0 / 1.105 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06498/1.078, allocations: 37.36 MB / 1.141 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/1.079, allocations: 283.1 kB / 1.141 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.926, allocations: 3.938 kB / 1.141 GB, free: 0.5977 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal_res.mat does not exist to compare? outputFormat=mat