Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.26/1.26, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 174.4 kB / 325.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007305/0.0007305, allocations: 97.86 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 8.625 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.218, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1668/0.3849, allocations: 158.9 MB / 1.051 GB, free: 4.578 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.3871, allocations: 1.008 MB / 1.052 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.3874, allocations: 7.938 kB / 1.052 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005913/0.388, allocations: 127.3 kB / 1.052 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.3897, allocations: 0.5915 MB / 1.053 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.3903, allocations: 206.8 kB / 1.053 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007394/0.391, allocations: 0.7215 MB / 1.054 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.3913, allocations: 148.2 kB / 1.054 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.3917, allocations: 219.1 kB / 1.054 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.392, allocations: 159.3 kB / 1.054 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.392, allocations: 12 kB / 1.054 GB, free: 1.387 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.393, allocations: 0.6389 MB / 1.055 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3931, allocations: 71.73 kB / 1.055 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.3933, allocations: 111.4 kB / 1.055 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006442/0.3939, allocations: 0.5063 MB / 1.056 GB, free: 60 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3939, allocations: 0 / 1.056 GB, free: 60 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3939, allocations: 0 / 1.056 GB, free: 60 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3939, allocations: 0 / 1.056 GB, free: 60 kB / 0.698 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.457/0.8509, allocations: 0.5484 MB / 1.056 GB, free: 162.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.851, allocations: 10.92 kB / 1.056 GB, free: 162.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.8511, allocations: 50.22 kB / 1.056 GB, free: 162.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.8514, allocations: 55.64 kB / 1.056 GB, free: 162.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.8517, allocations: 269.3 kB / 1.057 GB, free: 162.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.8518, allocations: 14.66 kB / 1.057 GB, free: 162.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.8518, allocations: 16.84 kB / 1.057 GB, free: 162.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.8523, allocations: 253.9 kB / 1.057 GB, free: 162.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.8524, allocations: 5.469 kB / 1.057 GB, free: 162.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.8524, allocations: 5.688 kB / 1.057 GB, free: 162.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.8524, allocations: 13.28 kB / 1.057 GB, free: 162.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.853, allocations: 264.7 kB / 1.057 GB, free: 162.4 MB / 0.698 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.001082/0.8541, allocations: 0.8378 MB / 1.058 GB, free: 162 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.8544, allocations: 158 kB / 1.058 GB, free: 162 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.8546, allocations: 113.3 kB / 1.058 GB, free: 162 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.8548, allocations: 193.4 kB / 1.058 GB, free: 161.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.8548, allocations: 32.19 kB / 1.058 GB, free: 161.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.8549, allocations: 3.906 kB / 1.058 GB, free: 161.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0007696/0.8556, allocations: 315.6 kB / 1.059 GB, free: 161.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.8557, allocations: 57.75 kB / 1.059 GB, free: 161.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.8559, allocations: 243.9 kB / 1.059 GB, free: 161.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.8559, allocations: 28.39 kB / 1.059 GB, free: 161.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.856, allocations: 135.1 kB / 1.059 GB, free: 161.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.856, allocations: 48.09 kB / 1.059 GB, free: 161.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.8561, allocations: 16.78 kB / 1.059 GB, free: 161.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.8562, allocations: 339.5 kB / 1.06 GB, free: 161 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.8564, allocations: 72.72 kB / 1.06 GB, free: 161 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.8566, allocations: 115.1 kB / 1.06 GB, free: 161 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.857, allocations: 179.6 kB / 1.06 GB, free: 161 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.857, allocations: 0 / 1.06 GB, free: 161 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004296/0.8574, allocations: 219.7 kB / 1.06 GB, free: 160.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.8574, allocations: 9.031 kB / 1.06 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8574, allocations: 0.5625 kB / 1.06 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8575, allocations: 2.969 kB / 1.06 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.8576, allocations: 29.11 kB / 1.06 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.8577, allocations: 7.344 kB / 1.06 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.8579, allocations: 26.38 kB / 1.06 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.8579, allocations: 9.375 kB / 1.06 GB, free: 160.9 MB / 0.698 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.858, allocations: 147.9 kB / 1.06 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.8581, allocations: 22.95 kB / 1.06 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.8581, allocations: 28.48 kB / 1.06 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8581, allocations: 1.688 kB / 1.06 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.8582, allocations: 4.719 kB / 1.06 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.8582, allocations: 4.484 kB / 1.06 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009682/0.8591, allocations: 0.6869 MB / 1.061 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8592, allocations: 0.875 kB / 1.061 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.8593, allocations: 40.02 kB / 1.061 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.8593, allocations: 3.094 kB / 1.061 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.8594, allocations: 11.42 kB / 1.061 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.8594, allocations: 3.422 kB / 1.061 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8594, allocations: 2.969 kB / 1.061 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.8598, allocations: 365.4 kB / 1.062 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.8599, allocations: 122.4 kB / 1.062 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.86, allocations: 10.55 kB / 1.062 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.8602, allocations: 15.97 kB / 1.062 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.8602, allocations: 13.94 kB / 1.062 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.8602, allocations: 3.516 kB / 1.062 GB, free: 160.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001556/0.8604, allocations: 182.5 kB / 1.062 GB, free: 160 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8604, allocations: 0 / 1.062 GB, free: 160 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003354/0.8608, allocations: 64.86 kB / 1.062 GB, free: 160 MB / 0.698 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008562/0.8616, allocations: 0.9415 MB / 1.063 GB, free: 159.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.8621, allocations: 190.2 kB / 1.063 GB, free: 159.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8621, allocations: 0 / 1.063 GB, free: 159.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.8623, allocations: 105.3 kB / 1.063 GB, free: 159.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.8631, allocations: 122 kB / 1.063 GB, free: 159.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.8661, allocations: 2.543 MB / 1.066 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.8663, allocations: 0.7571 MB / 1.066 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002759/0.8666, allocations: 61.8 kB / 1.067 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.8667, allocations: 64.58 kB / 1.067 GB, free: 157 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/0.8667, allocations: 0 / 1.067 GB, free: 157 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/1.031, allocations: 6.415 MB / 1.073 GB, free: 155.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/1.031, allocations: 265.5 kB / 1.073 GB, free: 155.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/3.109, allocations: 1.156 kB / 1.073 GB, free: 155.5 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)