Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.002322/0.002322, allocations: 194.7 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8213/0.8213, allocations: 122.9 MB / 413.6 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 0.4906 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4173, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1849/0.6023, allocations: 159.3 MB / 0.7222 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003484/0.6059, allocations: 1.701 MB / 0.7239 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.6063, allocations: 11.88 kB / 0.7239 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.607, allocations: 143.2 kB / 0.724 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.6088, allocations: 496.2 kB / 0.7245 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.6102, allocations: 380.5 kB / 0.7249 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.6114, allocations: 0.5732 MB / 0.7254 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000485/0.6119, allocations: 172.5 kB / 0.7256 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/0.6129, allocations: 314.7 kB / 0.7259 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.6132, allocations: 159.3 kB / 0.7261 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.6132, allocations: 16 kB / 0.7261 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.6144, allocations: 0.717 MB / 0.7268 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.6146, allocations: 79.78 kB / 0.7268 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.6147, allocations: 115.3 kB / 0.727 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009993/0.6158, allocations: 0.5219 MB / 0.7275 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6158, allocations: 0 / 0.7275 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.338e-06/0.6158, allocations: 3.984 kB / 0.7275 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.6158, allocations: 0 / 0.7275 GB, free: 5.844 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001444/0.6172, allocations: 0.5838 MB / 0.728 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/0.6173, allocations: 12.62 kB / 0.728 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005469/0.6179, allocations: 55.59 kB / 0.7281 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.6184, allocations: 289.3 kB / 0.7284 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.6184, allocations: 16 kB / 0.7284 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.6185, allocations: 16 kB / 0.7284 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.6189, allocations: 192.1 kB / 0.7286 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6189, allocations: 0 / 0.7286 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.619, allocations: 8 kB / 0.7286 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.619, allocations: 4 kB / 0.7286 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.6193, allocations: 127.8 kB / 0.7287 GB, free: 4.453 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.001276/0.6206, allocations: 0.7925 MB / 0.7295 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.6209, allocations: 78.53 kB / 0.7296 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.621, allocations: 72.88 kB / 0.7296 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004339/0.6215, allocations: 194.2 kB / 0.7298 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.6215, allocations: 30.56 kB / 0.7299 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 3.176e-06/0.6215, allocations: 0 / 0.7299 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006982/0.6222, allocations: 221.5 kB / 0.7301 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.6223, allocations: 59.34 kB / 0.7301 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.6226, allocations: 267.1 kB / 0.7304 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.6226, allocations: 29.64 kB / 0.7304 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6227, allocations: 144 kB / 0.7305 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.6228, allocations: 35.45 kB / 0.7306 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.6228, allocations: 37.64 kB / 0.7306 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.623, allocations: 330.8 kB / 0.7309 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.6231, allocations: 52.81 kB / 0.731 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.6233, allocations: 89.11 kB / 0.7311 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.6235, allocations: 123.3 kB / 0.7312 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6235, allocations: 4 kB / 0.7312 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003388/0.6239, allocations: 157.2 kB / 0.7313 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6239, allocations: 7.984 kB / 0.7313 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6239, allocations: 4.062 kB / 0.7313 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.624, allocations: 7.938 kB / 0.7314 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.6241, allocations: 19.98 kB / 0.7314 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6241, allocations: 4.031 kB / 0.7314 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.6243, allocations: 19.89 kB / 0.7314 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.6244, allocations: 8 kB / 0.7314 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001891/0.6245, allocations: 144.1 kB / 0.7315 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001569/0.6247, allocations: 101 kB / 0.7316 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002283/0.625, allocations: 111.5 kB / 0.7317 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.625, allocations: 0 / 0.7317 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003206/0.6253, allocations: 153.3 kB / 0.7319 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.6253, allocations: 8 kB / 0.7319 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.6253, allocations: 4 kB / 0.7319 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-06/0.6253, allocations: 0 / 0.7319 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.6254, allocations: 27.92 kB / 0.7319 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.6254, allocations: 4 kB / 0.7319 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.6256, allocations: 23.81 kB / 0.732 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.6257, allocations: 4 kB / 0.732 GB, free: 0.8711 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001078/0.6258, allocations: 193.1 kB / 0.7321 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.6258, allocations: 24.09 kB / 0.7322 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.6262, allocations: 171.1 kB / 0.7323 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6262, allocations: 0 / 0.7323 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6262, allocations: 4 kB / 0.7323 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6262, allocations: 0 / 0.7323 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009157/0.6272, allocations: 0.5899 MB / 0.7329 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6272, allocations: 224 / 0.7329 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.6273, allocations: 27.92 kB / 0.7329 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6273, allocations: 7.938 kB / 0.7329 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.6273, allocations: 4 kB / 0.7329 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.6273, allocations: 0 / 0.7329 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6273, allocations: 4 kB / 0.733 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.6277, allocations: 301.1 kB / 0.7332 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.6278, allocations: 112.8 kB / 0.7333 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.6279, allocations: 4 kB / 0.7333 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.6281, allocations: 19.98 kB / 0.7334 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.6282, allocations: 15.86 kB / 0.7334 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.6282, allocations: 8.25 kB / 0.7334 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002003/0.6284, allocations: 197.9 kB / 0.7336 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6284, allocations: 0 / 0.7336 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004805/0.6289, allocations: 95.84 kB / 0.7337 GB, free: 14.97 MB / 0.5762 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 (10): * Single equations (assignments): 10 * 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.0003724/0.6293, allocations: 164.1 kB / 0.7338 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004739/0.6297, allocations: 167.9 kB / 0.734 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6298, allocations: 3.938 kB / 0.734 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.6299, allocations: 64.47 kB / 0.7341 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.6306, allocations: 114.2 kB / 0.7342 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.6314, allocations: 0.495 MB / 0.7346 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.6317, allocations: 0.7636 MB / 0.7354 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002426/0.632, allocations: 65.88 kB / 0.7355 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.632, allocations: 23.44 kB / 0.7355 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.632, allocations: 0 / 0.7355 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of Templates: time 0.009107/0.6411, allocations: 4.308 MB / 0.7397 GB, free: 8.82 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)