Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008962/0.0009012, allocations: 98.27 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.006022/0.006022, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005615/0.0005615, allocations: 12.69 kB / 0.6743 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.329, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8719/1.201, allocations: 157.2 MB / 0.9414 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00326/1.204, allocations: 1.688 MB / 0.943 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/1.205, allocations: 16 kB / 0.9431 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006418/1.205, allocations: 134 kB / 0.9432 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/1.207, allocations: 488.7 kB / 0.9436 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/1.208, allocations: 371.2 kB / 0.944 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001077/1.209, allocations: 0.7632 MB / 0.9447 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/1.21, allocations: 143.4 kB / 0.9449 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/1.21, allocations: 293.9 kB / 0.9452 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/1.211, allocations: 159.2 kB / 0.9453 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/1.211, allocations: 7.062 kB / 0.9453 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/1.213, allocations: 0.7763 MB / 0.9461 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/1.213, allocations: 70.16 kB / 0.9461 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/1.213, allocations: 140.8 kB / 0.9463 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009567/1.214, allocations: 0.5097 MB / 0.9468 GB, free: 412 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.214, allocations: 4 kB / 0.9468 GB, free: 408 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/1.214, allocations: 0 / 0.9468 GB, free: 408 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/1.214, allocations: 0 / 0.9468 GB, free: 408 kB / 0.7169 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.0009658/1.215, allocations: 0.5444 MB / 0.9473 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.215, allocations: 13.91 kB / 0.9473 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/1.215, allocations: 53.88 kB / 0.9474 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/1.216, allocations: 289 kB / 0.9477 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/1.216, allocations: 11.62 kB / 0.9477 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/1.216, allocations: 15.8 kB / 0.9477 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/1.216, allocations: 196.6 kB / 0.9479 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.216, allocations: 3.938 kB / 0.9479 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/1.216, allocations: 9.047 kB / 0.9479 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/1.216, allocations: 8.688 kB / 0.9479 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/1.217, allocations: 135.4 kB / 0.948 GB, free: 15.62 MB / 0.7325 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.001154/1.218, allocations: 0.7986 MB / 0.9488 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/1.218, allocations: 84.12 kB / 0.9489 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/1.218, allocations: 81.59 kB / 0.949 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/1.219, allocations: 191.2 kB / 0.9491 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.219, allocations: 35.28 kB / 0.9492 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 2.485e-06/1.219, allocations: 0 / 0.9492 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0009172/1.22, allocations: 236.2 kB / 0.9494 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/1.22, allocations: 52.97 kB / 0.9494 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/1.22, allocations: 267.1 kB / 0.9497 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/1.22, allocations: 31.11 kB / 0.9497 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/1.221, allocations: 147.8 kB / 0.9499 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/1.221, allocations: 31.42 kB / 0.9499 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/1.221, allocations: 18.7 kB / 0.9499 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.221, allocations: 334.3 kB / 0.9502 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/1.221, allocations: 46.88 kB / 0.9503 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/1.221, allocations: 99.52 kB / 0.9504 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/1.222, allocations: 136.7 kB / 0.9505 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.222, allocations: 0.5 kB / 0.9505 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006377/1.223, allocations: 169.2 kB / 0.9507 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/1.223, allocations: 118.4 kB / 0.9508 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.223, allocations: 0.5 kB / 0.9508 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/1.223, allocations: 5.594 kB / 0.9508 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/1.223, allocations: 27.59 kB / 0.9508 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.223, allocations: 1.219 kB / 0.9508 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/1.223, allocations: 29.36 kB / 0.9508 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/1.223, allocations: 4.625 kB / 0.9509 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.223, allocations: 3.812 kB / 0.9509 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004606/1.224, allocations: 125.8 kB / 0.951 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.224, allocations: 2.922 kB / 0.951 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/1.224, allocations: 1.531 kB / 0.951 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/1.224, allocations: 23.64 kB / 0.951 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/1.224, allocations: 3.547 kB / 0.951 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/1.224, allocations: 32.64 kB / 0.951 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/1.224, allocations: 4.5 kB / 0.951 GB, free: 13.81 MB / 0.7325 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.0003271/1.225, allocations: 216.6 kB / 0.9512 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.937e-05/1.225, allocations: 26.31 kB / 0.9513 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006157/1.225, allocations: 171.2 kB / 0.9514 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.225, allocations: 1.5 kB / 0.9514 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.226, allocations: 4.906 kB / 0.9514 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.226, allocations: 0 / 0.9514 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/1.227, allocations: 0.5988 MB / 0.952 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.227, allocations: 2.125 kB / 0.952 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.227, allocations: 33.25 kB / 0.9521 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/1.227, allocations: 2.438 kB / 0.9521 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/1.227, allocations: 3.844 kB / 0.9521 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.227, allocations: 8.328 kB / 0.9521 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.227, allocations: 1.547 kB / 0.9521 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/1.227, allocations: 307.4 kB / 0.9524 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/1.228, allocations: 118.1 kB / 0.9525 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/1.228, allocations: 5.391 kB / 0.9525 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/1.228, allocations: 19.09 kB / 0.9525 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/1.228, allocations: 11.73 kB / 0.9525 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/1.228, allocations: 8.312 kB / 0.9525 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002319/1.228, allocations: 205.4 kB / 0.9527 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.31e-07/1.228, allocations: 0 / 0.9527 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005934/1.229, allocations: 98.55 kB / 0.9528 GB, free: 12.74 MB / 0.7325 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.0004751/1.229, allocations: 156.5 kB / 0.953 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005426/1.23, allocations: 185.3 kB / 0.9531 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.23, allocations: 0 / 0.9531 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/1.23, allocations: 66 kB / 0.9532 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/1.231, allocations: 132.8 kB / 0.9533 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/1.232, allocations: 0.5061 MB / 0.9538 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/1.232, allocations: 0.7618 MB / 0.9546 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003087/1.233, allocations: 73.41 kB / 0.9546 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/1.233, allocations: 21.12 kB / 0.9547 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/1.233, allocations: 0 / 0.9547 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.01243/1.245, allocations: 4.257 MB / 0.9588 GB, free: 11.25 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: