Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.383/2.383, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001498/0.001498, allocations: 172.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001095/0.001094, allocations: 95.64 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.138e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8514, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.872/6.724, allocations: 2.059 GB / 3.022 GB, free: 59.55 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/6.724, allocations: 85.67 kB / 3.022 GB, free: 59.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.324/8.048, allocations: 212.4 MB / 3.23 GB, free: 240.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.475e-06/8.048, allocations: 4 kB / 3.23 GB, free: 240.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.423e-05/8.048, allocations: 11.92 kB / 3.23 GB, free: 240.3 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.002322/8.051, allocations: 0.5839 MB / 3.23 GB, free: 239.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/8.051, allocations: 12.03 kB / 3.23 GB, free: 239.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/8.051, allocations: 51.67 kB / 3.23 GB, free: 239.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/8.052, allocations: 281 kB / 3.231 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/8.052, allocations: 4 kB / 3.231 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/8.052, allocations: 15.95 kB / 3.231 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004197/8.052, allocations: 161.3 kB / 3.231 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/8.053, allocations: 195.3 kB / 3.231 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/8.053, allocations: 4 kB / 3.231 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/8.053, allocations: 0 / 3.231 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/8.053, allocations: 15.97 kB / 3.231 GB, free: 238.9 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.001698/8.054, allocations: 0.8164 MB / 3.232 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/8.055, allocations: 126.5 kB / 3.232 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/8.055, allocations: 92.81 kB / 3.232 GB, free: 237.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/8.055, allocations: 194.2 kB / 3.232 GB, free: 237.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/8.055, allocations: 30.56 kB / 3.232 GB, free: 237.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 2.375e-06/8.055, allocations: 0 / 3.232 GB, free: 237.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.000778/8.056, allocations: 209.9 kB / 3.232 GB, free: 237.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/8.056, allocations: 55.41 kB / 3.232 GB, free: 237.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/8.056, allocations: 149.9 kB / 3.233 GB, free: 237.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/8.056, allocations: 25.7 kB / 3.233 GB, free: 237.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/8.056, allocations: 152.2 kB / 3.233 GB, free: 237 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/8.057, allocations: 47.3 kB / 3.233 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/8.057, allocations: 0 / 3.233 GB, free: 236.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.884e-05/8.057, allocations: 330.8 kB / 3.233 GB, free: 236.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/8.057, allocations: 63.95 kB / 3.233 GB, free: 236.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/8.057, allocations: 108.2 kB / 3.233 GB, free: 236.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/8.057, allocations: 76.56 kB / 3.233 GB, free: 236.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/8.057, allocations: 0 / 3.233 GB, free: 236.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004581/8.058, allocations: 198.8 kB / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/8.058, allocations: 4 kB / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/8.058, allocations: 0 / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/8.058, allocations: 0 / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/8.058, allocations: 35.97 kB / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/8.058, allocations: 4.062 kB / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/8.059, allocations: 27.81 kB / 3.234 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/8.059, allocations: 12.06 kB / 3.234 GB, free: 236 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 9.806e-05/8.059, allocations: 108.9 kB / 3.234 GB, free: 235.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004291/8.059, allocations: 198.5 kB / 3.234 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/8.059, allocations: 15.81 kB / 3.234 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-05/8.059, allocations: 25.97 kB / 3.234 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/8.059, allocations: 3.938 kB / 3.234 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/8.059, allocations: 4 kB / 3.234 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/8.059, allocations: 7.922 kB / 3.234 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/8.061, allocations: 0.641 MB / 3.235 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/8.061, allocations: 0 / 3.235 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/8.061, allocations: 39.91 kB / 3.235 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/8.061, allocations: 0 / 3.235 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/8.061, allocations: 7.984 kB / 3.235 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/8.061, allocations: 7.953 kB / 3.235 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/8.061, allocations: 4 kB / 3.235 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/8.062, allocations: 417.4 kB / 3.235 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/8.062, allocations: 112.9 kB / 3.235 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/8.062, allocations: 7.953 kB / 3.235 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/8.062, allocations: 15.98 kB / 3.235 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/8.062, allocations: 15.98 kB / 3.235 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/8.062, allocations: 4 kB / 3.235 GB, free: 234.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001107/8.062, allocations: 127.2 kB / 3.235 GB, free: 234.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/8.062, allocations: 0 / 3.235 GB, free: 234.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007469/8.063, allocations: 111.8 kB / 3.235 GB, free: 234 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.00234/8.066, allocations: 2.335 MB / 3.238 GB, free: 231.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005309/8.066, allocations: 157.3 kB / 3.238 GB, free: 231.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/8.066, allocations: 0 / 3.238 GB, free: 231.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/8.066, allocations: 95.88 kB / 3.238 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/8.067, allocations: 72.48 kB / 3.238 GB, free: 231.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/8.068, allocations: 389.2 kB / 3.238 GB, free: 230.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/8.069, allocations: 0.7555 MB / 3.239 GB, free: 230.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004299/8.069, allocations: 61.83 kB / 3.239 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/8.069, allocations: 71.39 kB / 3.239 GB, free: 229.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/8.069, allocations: 0 / 3.239 GB, free: 229.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05809/8.127, allocations: 11.7 MB / 3.251 GB, free: 218.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/8.128, allocations: 173 kB / 3.251 GB, free: 218.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/11.16, allocations: 3.25 kB / 3.251 GB, free: 218.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)