Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008989/0.008989, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 9.812 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3583, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1783/0.5367, allocations: 157 MB / 1.227 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.5387, allocations: 0.9587 MB / 1.228 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.5389, allocations: 7.938 kB / 1.228 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.5394, allocations: 131.3 kB / 1.229 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.5409, allocations: 0.5993 MB / 1.229 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.5414, allocations: 203.2 kB / 1.229 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007586/0.5422, allocations: 0.741 MB / 1.23 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.5425, allocations: 148.2 kB / 1.23 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.5429, allocations: 211.1 kB / 1.23 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.5431, allocations: 175.3 kB / 1.231 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.5432, allocations: 8 kB / 1.231 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000942/0.5441, allocations: 0.635 MB / 1.231 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.5442, allocations: 79.77 kB / 1.231 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.5444, allocations: 125.1 kB / 1.231 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006569/0.545, allocations: 0.5102 MB / 1.232 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.545, allocations: 4 kB / 1.232 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5451, allocations: 0 / 1.232 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.5451, allocations: 0 / 1.232 GB, free: 5.395 MB / 0.9825 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.001378/0.5464, allocations: 0.5533 MB / 1.232 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5465, allocations: 15.97 kB / 1.232 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.5468, allocations: 43.69 kB / 1.232 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.5471, allocations: 280.2 kB / 1.233 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5471, allocations: 12.33 kB / 1.233 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.5472, allocations: 12 kB / 1.233 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.5477, allocations: 251.1 kB / 1.233 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5477, allocations: 0 / 1.233 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.5477, allocations: 8 kB / 1.233 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.5478, allocations: 8 kB / 1.233 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.5484, allocations: 263.8 kB / 1.233 GB, free: 3.875 MB / 0.9825 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.001237/0.5496, allocations: 0.8508 MB / 1.234 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.55, allocations: 146.6 kB / 1.234 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.5502, allocations: 116.8 kB / 1.234 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.5505, allocations: 190.2 kB / 1.235 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.5505, allocations: 34.56 kB / 1.235 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.5505, allocations: 4 kB / 1.235 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0008484/0.5514, allocations: 313.2 kB / 1.235 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.5514, allocations: 59.41 kB / 1.235 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.5517, allocations: 241 kB / 1.235 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.5517, allocations: 33.7 kB / 1.235 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5518, allocations: 132.2 kB / 1.235 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.5519, allocations: 51.3 kB / 1.235 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.5519, allocations: 17.72 kB / 1.235 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5521, allocations: 330.8 kB / 1.236 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.5523, allocations: 79.94 kB / 1.236 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.5525, allocations: 106.5 kB / 1.236 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.5529, allocations: 185.9 kB / 1.236 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5529, allocations: 0 / 1.236 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004636/0.5534, allocations: 225.2 kB / 1.236 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5534, allocations: 9.656 kB / 1.236 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5534, allocations: 0 / 1.236 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5534, allocations: 4 kB / 1.236 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.5536, allocations: 35.97 kB / 1.236 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5536, allocations: 3.938 kB / 1.236 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.5538, allocations: 31.89 kB / 1.236 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.5539, allocations: 8 kB / 1.236 GB, free: 0.5039 MB / 0.9825 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.000124/0.554, allocations: 141.8 kB / 1.236 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.5541, allocations: 23.66 kB / 1.237 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.5542, allocations: 37.77 kB / 1.237 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.5542, allocations: 0 / 1.237 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5542, allocations: 3.938 kB / 1.237 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5542, allocations: 4 kB / 1.237 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.5553, allocations: 0.6913 MB / 1.237 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5553, allocations: 0 / 1.237 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.5555, allocations: 31.92 kB / 1.237 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5555, allocations: 4 kB / 1.237 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5555, allocations: 7.984 kB / 1.237 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5555, allocations: 4.219 kB / 1.237 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5555, allocations: 4 kB / 1.237 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.556, allocations: 365 kB / 1.238 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.5561, allocations: 112.8 kB / 1.238 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.5562, allocations: 15.98 kB / 1.238 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.5564, allocations: 12 kB / 1.238 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.5565, allocations: 23.86 kB / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.5565, allocations: 7.984 kB / 1.238 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001608/0.5566, allocations: 176.5 kB / 1.238 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5566, allocations: 0 / 1.238 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003647/0.557, allocations: 56 kB / 1.238 GB, free: 14.66 MB / 0.9981 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.0003432/0.5574, allocations: 162.1 kB / 1.238 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.5578, allocations: 179.8 kB / 1.238 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5579, allocations: 0 / 1.238 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.5581, allocations: 100 kB / 1.238 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.5589, allocations: 122.8 kB / 1.239 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.5597, allocations: 0.5176 MB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.56, allocations: 0.7521 MB / 1.24 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000211/0.5602, allocations: 65.89 kB / 1.24 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.5603, allocations: 19.44 kB / 1.24 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.5603, allocations: 0 / 1.24 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.008272/0.5686, allocations: 4.189 MB / 1.244 GB, free: 8.566 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)