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.001254/0.001254, allocations: 106.8 kB / 16.36 MB, free: 6.309 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.00124/0.00124, allocations: 191.9 kB / 17.3 MB, free: 5.871 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.634/1.634, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.824/1.824, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001497/0.001497, allocations: 71.19 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2618, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7255/0.9874, allocations: 161.5 MB / 0.9425 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.9914, allocations: 1.695 MB / 0.9442 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007603/0.9922, allocations: 13.16 kB / 0.9442 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.9933, allocations: 155 kB / 0.9443 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.9952, allocations: 0.5099 MB / 0.9448 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.9967, allocations: 425.9 kB / 0.9452 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.9978, allocations: 0.5707 MB / 0.9458 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.9982, allocations: 177 kB / 0.946 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008696/0.9991, allocations: 322.7 kB / 0.9463 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.9993, allocations: 143.3 kB / 0.9464 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.9994, allocations: 16 kB / 0.9464 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/1.001, allocations: 0.6937 MB / 0.9471 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/1.001, allocations: 83.73 kB / 0.9472 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/1.001, allocations: 119.3 kB / 0.9473 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008056/1.002, allocations: 0.4945 MB / 0.9478 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.002, allocations: 4.781 kB / 0.9478 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.275e-06/1.002, allocations: 0 / 0.9478 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.002, allocations: 0 / 0.9478 GB, free: 3.168 MB / 0.7325 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.0009947/1.003, allocations: 0.5867 MB / 0.9484 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.003, allocations: 8.031 kB / 0.9484 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003912/1.003, allocations: 51.59 kB / 0.9484 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/1.004, allocations: 313.3 kB / 0.9487 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.004, allocations: 8 kB / 0.9487 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/1.004, allocations: 16 kB / 0.9487 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/1.005, allocations: 193.8 kB / 0.9489 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.005, allocations: 3.938 kB / 0.9489 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/1.005, allocations: 4 kB / 0.9489 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/1.005, allocations: 4.688 kB / 0.9489 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/1.005, allocations: 123.9 kB / 0.949 GB, free: 1.773 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.001147/1.006, allocations: 0.7963 MB / 0.9498 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/1.006, allocations: 79.69 kB / 0.9499 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/1.007, allocations: 80.88 kB / 0.95 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/1.007, allocations: 190.1 kB / 0.9502 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.007, allocations: 38.44 kB / 0.9502 GB, free: 484 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/1.007, allocations: 0 / 0.9502 GB, free: 484 kB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007537/1.008, allocations: 226.6 kB / 0.9504 GB, free: 252 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/1.008, allocations: 51.41 kB / 0.9505 GB, free: 188 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/1.008, allocations: 267 kB / 0.9507 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/1.008, allocations: 29.7 kB / 0.9507 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/1.008, allocations: 144 kB / 0.9509 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/1.008, allocations: 35.45 kB / 0.9509 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/1.009, allocations: 33.72 kB / 0.9509 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.009, allocations: 334.8 kB / 0.9513 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/1.009, allocations: 40.83 kB / 0.9513 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/1.009, allocations: 94.52 kB / 0.9514 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/1.009, allocations: 119.3 kB / 0.9515 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.009, allocations: 4 kB / 0.9515 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003578/1.01, allocations: 161.2 kB / 0.9517 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.01, allocations: 4 kB / 0.9517 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.01, allocations: 4.031 kB / 0.9517 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.01, allocations: 7.938 kB / 0.9517 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/1.01, allocations: 19.98 kB / 0.9517 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.01, allocations: 0 / 0.9517 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/1.01, allocations: 19.89 kB / 0.9517 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/1.01, allocations: 11.98 kB / 0.9517 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002065/1.01, allocations: 144.1 kB / 0.9519 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001668/1.011, allocations: 94.27 kB / 0.952 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002508/1.011, allocations: 123.4 kB / 0.9521 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/1.011, allocations: 0 / 0.9521 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003254/1.011, allocations: 153.4 kB / 0.9522 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/1.011, allocations: 4.781 kB / 0.9522 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/1.011, allocations: 3.984 kB / 0.9522 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-06/1.011, allocations: 4 kB / 0.9522 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.011, allocations: 20.92 kB / 0.9523 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.011, allocations: 7.875 kB / 0.9523 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/1.011, allocations: 23.83 kB / 0.9523 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/1.012, allocations: 11.94 kB / 0.9523 GB, free: 14.19 MB / 0.7481 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.0001387/1.012, allocations: 189.4 kB / 0.9525 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/1.012, allocations: 19.72 kB / 0.9525 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/1.012, allocations: 165.2 kB / 0.9527 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.012, allocations: 3.938 kB / 0.9527 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.012, allocations: 0 / 0.9527 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.012, allocations: 112.8 kB / 0.9528 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/1.012, allocations: 0 / 0.9528 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/1.012, allocations: 15.98 kB / 0.9528 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/1.012, allocations: 7.984 kB / 0.9528 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003867/1.013, allocations: 216.8 kB / 0.953 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004168/1.013, allocations: 327.8 kB / 0.9533 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001358/1.013, allocations: 47.95 kB / 0.9534 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001933/1.014, allocations: 197.9 kB / 0.9535 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of Backend: time 5.91e-07/1.014, allocations: 4 kB / 0.9535 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001204/1.015, allocations: 344.6 kB / 0.9539 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of SimCode: time 0.001304/1.016, allocations: 0.9034 MB / 0.9548 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.01133/1.028, allocations: 5.867 MB / 0.9605 GB, free: 5.832 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (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)