Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001741/0.001741, allocations: 105.7 kB / 15.98 MB, free: 6.355 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.002074/0.002075, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7678/0.7678, allocations: 122.9 MB / 413.6 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 0.4906 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3754, allocations: 77.92 MB / 0.5667 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1821/0.5575, allocations: 159.1 MB / 0.7221 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.5597, allocations: 0.9547 MB / 0.723 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.56, allocations: 7.938 kB / 0.723 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.5606, allocations: 147.2 kB / 0.7231 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.5622, allocations: 0.5876 MB / 0.7237 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.5628, allocations: 197.2 kB / 0.7239 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006349/0.5634, allocations: 0.5265 MB / 0.7244 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/0.5638, allocations: 184 kB / 0.7246 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.5642, allocations: 247.1 kB / 0.7248 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.5644, allocations: 167.3 kB / 0.725 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.5645, allocations: 12 kB / 0.725 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.5653, allocations: 0.5649 MB / 0.7255 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.5654, allocations: 79.78 kB / 0.7256 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.5655, allocations: 115.4 kB / 0.7257 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007235/0.5663, allocations: 0.5103 MB / 0.7262 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.5663, allocations: 0 / 0.7262 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5663, allocations: 3.938 kB / 0.7262 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.5663, allocations: 0 / 0.7262 GB, free: 7.078 MB / 0.5606 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.00146/0.5678, allocations: 0.6 MB / 0.7268 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5678, allocations: 12.56 kB / 0.7268 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.5681, allocations: 47.69 kB / 0.7269 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.5685, allocations: 278.3 kB / 0.7271 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5685, allocations: 12.33 kB / 0.7272 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.5685, allocations: 16 kB / 0.7272 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.569, allocations: 239.1 kB / 0.7274 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5691, allocations: 0 / 0.7274 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.5691, allocations: 16 kB / 0.7274 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.5691, allocations: 8 kB / 0.7274 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.5698, allocations: 251.8 kB / 0.7277 GB, free: 5.523 MB / 0.5606 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.001223/0.571, allocations: 0.8276 MB / 0.7285 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.5713, allocations: 142.6 kB / 0.7286 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.5715, allocations: 124.7 kB / 0.7287 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.5718, allocations: 182.2 kB / 0.7289 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.5719, allocations: 38.56 kB / 0.7289 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.5719, allocations: 0 / 0.7289 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007949/0.5727, allocations: 304.4 kB / 0.7292 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.5727, allocations: 55.41 kB / 0.7293 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.5729, allocations: 245 kB / 0.7295 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.573, allocations: 29.7 kB / 0.7295 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5731, allocations: 140.2 kB / 0.7297 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.5731, allocations: 47.3 kB / 0.7297 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.5732, allocations: 37.7 kB / 0.7298 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5734, allocations: 334.8 kB / 0.7301 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.5735, allocations: 63.95 kB / 0.7301 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.5738, allocations: 102.5 kB / 0.7302 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.5741, allocations: 174.4 kB / 0.7304 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5741, allocations: 0 / 0.7304 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004416/0.5746, allocations: 221.2 kB / 0.7306 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5746, allocations: 7.938 kB / 0.7306 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5746, allocations: 4 kB / 0.7306 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.5746, allocations: 4.062 kB / 0.7306 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.5748, allocations: 35.91 kB / 0.7307 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5748, allocations: 0 / 0.7307 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.575, allocations: 19.83 kB / 0.7307 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.575, allocations: 12 kB / 0.7307 GB, free: 2.215 MB / 0.5606 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.0001204/0.5752, allocations: 137.8 kB / 0.7308 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.5752, allocations: 23.66 kB / 0.7308 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.5753, allocations: 37.83 kB / 0.7309 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5753, allocations: 0 / 0.7309 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5753, allocations: 0 / 0.7309 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5753, allocations: 3.984 kB / 0.7309 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/0.5763, allocations: 0.6756 MB / 0.7315 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5763, allocations: 7.984 kB / 0.7316 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.5765, allocations: 23.98 kB / 0.7316 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5765, allocations: 4 kB / 0.7316 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.5765, allocations: 8 kB / 0.7316 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.5765, allocations: 4.281 kB / 0.7316 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5765, allocations: 15.92 kB / 0.7316 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.5771, allocations: 355.3 kB / 0.7319 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.5772, allocations: 112.9 kB / 0.7321 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.5772, allocations: 3.938 kB / 0.7321 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.5774, allocations: 19.89 kB / 0.7321 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.5775, allocations: 19.92 kB / 0.7321 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.5775, allocations: 4 kB / 0.7321 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001572/0.5776, allocations: 180.5 kB / 0.7323 GB, free: 472 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5776, allocations: 0 / 0.7323 GB, free: 472 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003289/0.578, allocations: 55.94 kB / 0.7323 GB, free: 416 kB / 0.5606 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.0003446/0.5783, allocations: 165.5 kB / 0.7325 GB, free: 248 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.5788, allocations: 179.9 kB / 0.7327 GB, free: 68 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5788, allocations: 0 / 0.7327 GB, free: 68 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.579, allocations: 99.89 kB / 0.7327 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.5797, allocations: 123.5 kB / 0.7329 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.5804, allocations: 0.5038 MB / 0.7334 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.5807, allocations: 0.748 MB / 0.7341 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.5809, allocations: 57.91 kB / 0.7341 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.581, allocations: 23.44 kB / 0.7342 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.581, allocations: 3.938 kB / 0.7342 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of Templates: time 0.007727/0.5887, allocations: 4.362 MB / 0.7384 GB, free: 10.17 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)