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.001376/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001758/0.001758, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 61.95 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3588, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1681/0.5269, allocations: 159.1 MB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.5289, allocations: 0.9727 MB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.5291, allocations: 7.938 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.5297, allocations: 131.3 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.5311, allocations: 0.5993 MB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.5316, allocations: 206.6 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007065/0.5323, allocations: 0.7371 MB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.5326, allocations: 156.2 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.533, allocations: 215.1 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.5333, allocations: 163.3 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.5333, allocations: 12 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009878/0.5343, allocations: 0.6429 MB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.5344, allocations: 75.73 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.5346, allocations: 111.4 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006776/0.5352, allocations: 0.5102 MB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5353, allocations: 0 / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.11e-07/0.5353, allocations: 0 / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5353, allocations: 0 / 1.227 GB, free: 6.719 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.001467/0.5368, allocations: 0.6014 MB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5368, allocations: 11.97 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.5371, allocations: 51.69 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.5374, allocations: 280.2 kB / 1.228 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.5374, allocations: 16.33 kB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.5375, allocations: 12 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.538, allocations: 239.1 kB / 1.228 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.538, allocations: 0 / 1.228 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.538, allocations: 7.938 kB / 1.228 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.5381, allocations: 11.98 kB / 1.228 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006421/0.5387, allocations: 251.8 kB / 1.229 GB, free: 5.164 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.001243/0.54, allocations: 0.8431 MB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.5403, allocations: 146.4 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.5405, allocations: 112.2 kB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.5408, allocations: 190.2 kB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5408, allocations: 34.56 kB / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.5408, allocations: 0 / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0008414/0.5417, allocations: 309.1 kB / 1.23 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.5417, allocations: 51.41 kB / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.542, allocations: 241 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.542, allocations: 29.7 kB / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.5421, allocations: 136.2 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.5422, allocations: 55.28 kB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.5422, allocations: 33.7 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5424, allocations: 330.8 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.5426, allocations: 71.94 kB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.5428, allocations: 98.5 kB / 1.231 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.5431, allocations: 170.4 kB / 1.231 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5431, allocations: 4 kB / 1.231 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004591/0.5436, allocations: 217.2 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5436, allocations: 9.656 kB / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.5436, allocations: 0 / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5437, allocations: 4 kB / 1.232 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.5439, allocations: 23.98 kB / 1.232 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5439, allocations: 12.05 kB / 1.232 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.5441, allocations: 23.83 kB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.5441, allocations: 4.047 kB / 1.232 GB, free: 1.852 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.0001429/0.5442, allocations: 141.8 kB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.5443, allocations: 35.67 kB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.971e-05/0.5444, allocations: 29.77 kB / 1.232 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5444, allocations: 4 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5444, allocations: 4 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5444, allocations: 0 / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.5454, allocations: 0.6795 MB / 1.233 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5454, allocations: 0 / 1.233 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.5456, allocations: 35.91 kB / 1.233 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.5456, allocations: 0 / 1.233 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.5457, allocations: 8 kB / 1.233 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5457, allocations: 4 kB / 1.233 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5457, allocations: 0 / 1.233 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.5462, allocations: 360.9 kB / 1.233 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.5463, allocations: 116.8 kB / 1.233 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.5464, allocations: 4 kB / 1.233 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.5465, allocations: 19.98 kB / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.5466, allocations: 15.86 kB / 1.233 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.5466, allocations: 8 kB / 1.233 GB, free: 272 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001644/0.5468, allocations: 176.5 kB / 1.233 GB, free: 96 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5468, allocations: 4 kB / 1.233 GB, free: 92 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003512/0.5472, allocations: 67.91 kB / 1.233 GB, free: 24 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.0003959/0.5476, allocations: 137.6 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.548, allocations: 171.8 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.548, allocations: 0 / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.5483, allocations: 96.12 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.0007448/0.549, allocations: 127.1 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007648/0.5498, allocations: 0.4978 MB / 1.234 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5501, allocations: 0.756 MB / 1.235 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002281/0.5504, allocations: 57.91 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.5504, allocations: 23.42 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.5504, allocations: 0 / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.009719/0.5602, allocations: 4.211 MB / 1.239 GB, free: 9.957 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)