Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001754/0.001755, allocations: 198.1 kB / 16.14 MB, free: 6.695 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 472.6 MB / 0.7447 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 58.25 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3489, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1879/0.5369, allocations: 159.1 MB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.539, allocations: 0.9704 MB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.5392, allocations: 7.938 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.5398, allocations: 127.2 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.5414, allocations: 0.5954 MB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.5419, allocations: 203.2 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007278/0.5427, allocations: 0.7371 MB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.543, allocations: 160.1 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.5434, allocations: 211.2 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.5437, allocations: 175.3 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.5437, allocations: 8 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.5447, allocations: 0.6428 MB / 1.227 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.5449, allocations: 71.8 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.545, allocations: 115.4 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006819/0.5457, allocations: 0.5024 MB / 1.227 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5457, allocations: 4 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.736e-06/0.5457, allocations: 3.984 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.5457, allocations: 0 / 1.227 GB, free: 6.73 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.00151/0.5473, allocations: 0.6038 MB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5473, allocations: 8.031 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.5476, allocations: 47.69 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.548, allocations: 272.3 kB / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.548, allocations: 12.33 kB / 1.228 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.548, allocations: 16 kB / 1.228 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.5486, allocations: 239.1 kB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5486, allocations: 0 / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.5486, allocations: 16 kB / 1.228 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.5486, allocations: 11.98 kB / 1.228 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006806/0.5493, allocations: 247.8 kB / 1.229 GB, free: 5.184 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.001296/0.5506, allocations: 0.8392 MB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.551, allocations: 146.5 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.5512, allocations: 116.9 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/0.5515, allocations: 190.2 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.5515, allocations: 38.56 kB / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.5515, allocations: 0 / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0008599/0.5524, allocations: 309 kB / 1.23 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.5525, allocations: 51.41 kB / 1.23 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.5527, allocations: 245 kB / 1.231 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.5528, allocations: 33.7 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.5529, allocations: 136.2 kB / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.5529, allocations: 47.3 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.16e-05/0.553, allocations: 33.7 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5532, allocations: 330.8 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.5534, allocations: 63.94 kB / 1.231 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.5536, allocations: 112.3 kB / 1.231 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.554, allocations: 166.4 kB / 1.231 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.554, allocations: 3.938 kB / 1.231 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004444/0.5544, allocations: 223 kB / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5544, allocations: 7.938 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5545, allocations: 4 kB / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5545, allocations: 0 / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.5547, allocations: 31.92 kB / 1.232 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.5547, allocations: 0 / 1.232 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.5549, allocations: 27.81 kB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.5549, allocations: 8 kB / 1.232 GB, free: 1.855 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.0001412/0.5551, allocations: 141.9 kB / 1.232 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.5551, allocations: 19.75 kB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.458e-05/0.5552, allocations: 33.83 kB / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.5552, allocations: 0 / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5552, allocations: 0 / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5552, allocations: 0 / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.5564, allocations: 0.6833 MB / 1.233 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5564, allocations: 4 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.5565, allocations: 28.19 kB / 1.233 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5566, allocations: 8 kB / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.5566, allocations: 4 kB / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5566, allocations: 0 / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.5566, allocations: 7.938 kB / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.5571, allocations: 349.1 kB / 1.233 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.5573, allocations: 120.8 kB / 1.233 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.5573, allocations: 7.938 kB / 1.233 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.5575, allocations: 15.98 kB / 1.233 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.5576, allocations: 19.92 kB / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.5576, allocations: 4 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001715/0.5578, allocations: 180.5 kB / 1.233 GB, free: 112 kB / 0.9825 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5578, allocations: 0 / 1.233 GB, free: 112 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003893/0.5582, allocations: 59.91 kB / 1.233 GB, free: 52 kB / 0.9825 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.0004656/0.5586, allocations: 167.4 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.5591, allocations: 167.8 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5592, allocations: 0 / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.5594, allocations: 95.81 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008028/0.5602, allocations: 123.2 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.5611, allocations: 0.4901 MB / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.5616, allocations: 0.7482 MB / 1.235 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.5618, allocations: 69.89 kB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.5619, allocations: 23.44 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/0.5619, allocations: 0 / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of Templates: time 0.009585/0.5715, allocations: 4.208 MB / 1.239 GB, free: 9.969 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)