Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 289.9 MB / 297.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 180.8 kB / 366.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.3 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 84.05 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.835e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7146, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.368/5.082, allocations: 2.06 GB / 3.033 GB, free: 70.58 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/5.082, allocations: 83.95 kB / 3.033 GB, free: 70.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9692/6.052, allocations: 212.4 MB / 3.241 GB, free: 241.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/6.052, allocations: 0 / 3.241 GB, free: 241.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.423e-05/6.052, allocations: 12 kB / 3.241 GB, free: 241.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00159/6.053, allocations: 0.5877 MB / 3.241 GB, free: 241 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/6.053, allocations: 12.03 kB / 3.241 GB, free: 241 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/6.054, allocations: 43.69 kB / 3.241 GB, free: 240.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/6.054, allocations: 284.9 kB / 3.242 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/6.054, allocations: 4 kB / 3.242 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/6.054, allocations: 15.98 kB / 3.242 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002635/6.054, allocations: 164.2 kB / 3.242 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/6.055, allocations: 194.9 kB / 3.242 GB, free: 240.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/6.055, allocations: 0 / 3.242 GB, free: 240.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/6.055, allocations: 3.938 kB / 3.242 GB, free: 240.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/6.055, allocations: 8 kB / 3.242 GB, free: 240.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001085/6.056, allocations: 0.8174 MB / 3.243 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/6.056, allocations: 122.5 kB / 3.243 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/6.056, allocations: 88.81 kB / 3.243 GB, free: 239.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/6.056, allocations: 194.2 kB / 3.243 GB, free: 238.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/6.056, allocations: 34.59 kB / 3.243 GB, free: 238.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 2.385e-06/6.056, allocations: 3.984 kB / 3.243 GB, free: 238.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0005033/6.057, allocations: 218.8 kB / 3.243 GB, free: 238.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/6.057, allocations: 59.34 kB / 3.244 GB, free: 238.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/6.057, allocations: 151.1 kB / 3.244 GB, free: 238.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/6.057, allocations: 25.7 kB / 3.244 GB, free: 238.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/6.057, allocations: 140.3 kB / 3.244 GB, free: 238.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/6.057, allocations: 47.36 kB / 3.244 GB, free: 238.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/6.057, allocations: 0 / 3.244 GB, free: 238.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/6.057, allocations: 334.8 kB / 3.244 GB, free: 237.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/6.057, allocations: 63.91 kB / 3.244 GB, free: 237.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/6.058, allocations: 108.2 kB / 3.244 GB, free: 237.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/6.058, allocations: 67.95 kB / 3.244 GB, free: 237.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/6.058, allocations: 0 / 3.244 GB, free: 237.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002821/6.058, allocations: 203.2 kB / 3.245 GB, free: 237.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/6.058, allocations: 8 kB / 3.245 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/6.058, allocations: 0 / 3.245 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/6.058, allocations: 0 / 3.245 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/6.058, allocations: 43.91 kB / 3.245 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/6.058, allocations: 0 / 3.245 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/6.058, allocations: 19.89 kB / 3.245 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/6.058, allocations: 19.98 kB / 3.245 GB, free: 237.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.272e-05/6.059, allocations: 102.5 kB / 3.245 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002322/6.059, allocations: 201.4 kB / 3.245 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/6.059, allocations: 15.81 kB / 3.245 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/6.059, allocations: 25.95 kB / 3.245 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/6.059, allocations: 0 / 3.245 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/6.059, allocations: 0 / 3.245 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/6.059, allocations: 4 kB / 3.245 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/6.06, allocations: 0.645 MB / 3.246 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/6.06, allocations: 0 / 3.246 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/6.06, allocations: 44.12 kB / 3.246 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/6.06, allocations: 0 / 3.246 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/6.06, allocations: 7.984 kB / 3.246 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/6.06, allocations: 7.938 kB / 3.246 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/6.06, allocations: 0 / 3.246 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/6.06, allocations: 427 kB / 3.246 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/6.06, allocations: 108.9 kB / 3.246 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/6.06, allocations: 7.984 kB / 3.246 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/6.06, allocations: 19.88 kB / 3.246 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/6.061, allocations: 15.92 kB / 3.246 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/6.061, allocations: 12 kB / 3.246 GB, free: 235.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.619e-05/6.061, allocations: 127.3 kB / 3.246 GB, free: 235.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/6.061, allocations: 0 / 3.246 GB, free: 235.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005169/6.061, allocations: 107.9 kB / 3.247 GB, free: 235.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00186/6.063, allocations: 2.331 MB / 3.249 GB, free: 232.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002707/6.063, allocations: 159.8 kB / 3.249 GB, free: 232.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/6.063, allocations: 0 / 3.249 GB, free: 232.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/6.063, allocations: 92.33 kB / 3.249 GB, free: 232.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/6.064, allocations: 92.12 kB / 3.249 GB, free: 232.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/6.065, allocations: 377.2 kB / 3.249 GB, free: 232.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/6.065, allocations: 0.7555 MB / 3.25 GB, free: 231.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002166/6.065, allocations: 61.81 kB / 3.25 GB, free: 231.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/6.065, allocations: 67.34 kB / 3.25 GB, free: 231.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/6.065, allocations: 0 / 3.25 GB, free: 231.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/6.099, allocations: 11.69 MB / 3.262 GB, free: 219.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/6.099, allocations: 177.5 kB / 3.262 GB, free: 219.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/8.507, allocations: 0.875 kB / 3.262 GB, free: 219.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)