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.001355/0.001355, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001411/0.001411, allocations: 184 kB / 17.22 MB, free: 5.934 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.642/1.642, allocations: 205.1 MB / 223.1 MB, free: 12.32 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 2.001/2.001, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001443/0.001444, allocations: 67.84 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2773, allocations: 114.6 MB / 0.7841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7499/1.027, allocations: 161.5 MB / 0.9418 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003634/1.031, allocations: 1.698 MB / 0.9435 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006297/1.032, allocations: 11.94 kB / 0.9435 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007752/1.032, allocations: 155 kB / 0.9436 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/1.034, allocations: 0.5172 MB / 0.9441 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/1.036, allocations: 418.7 kB / 0.9445 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001056/1.037, allocations: 0.5654 MB / 0.9451 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/1.037, allocations: 185 kB / 0.9452 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009188/1.038, allocations: 318.8 kB / 0.9455 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/1.038, allocations: 155.2 kB / 0.9457 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/1.038, allocations: 12.56 kB / 0.9457 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/1.04, allocations: 0.6976 MB / 0.9464 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/1.04, allocations: 79.73 kB / 0.9465 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002199/1.041, allocations: 119.3 kB / 0.9466 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/1.042, allocations: 0.4986 MB / 0.9471 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.042, allocations: 0 / 0.9471 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.505e-06/1.042, allocations: 1.594 kB / 0.9471 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.075e-05/1.042, allocations: 0 / 0.9471 GB, free: 3.645 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.001208/1.043, allocations: 0.5867 MB / 0.9476 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.043, allocations: 8.031 kB / 0.9476 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/1.044, allocations: 59.58 kB / 0.9477 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/1.044, allocations: 285.3 kB / 0.948 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/1.044, allocations: 8 kB / 0.948 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/1.044, allocations: 19.98 kB / 0.948 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/1.045, allocations: 197.2 kB / 0.9482 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.045, allocations: 3.938 kB / 0.9482 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/1.045, allocations: 4 kB / 0.9482 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.045, allocations: 4 kB / 0.9482 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/1.045, allocations: 127.9 kB / 0.9483 GB, free: 2.258 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.001188/1.046, allocations: 0.7814 MB / 0.9491 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/1.046, allocations: 82.59 kB / 0.9492 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/1.047, allocations: 81.39 kB / 0.9492 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/1.047, allocations: 190.2 kB / 0.9494 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/1.047, allocations: 30.56 kB / 0.9495 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/1.047, allocations: 0 / 0.9495 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007236/1.048, allocations: 227.1 kB / 0.9497 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/1.048, allocations: 51.41 kB / 0.9497 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/1.048, allocations: 267 kB / 0.95 GB, free: 424 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/1.048, allocations: 29.7 kB / 0.95 GB, free: 388 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.048, allocations: 148 kB / 0.9501 GB, free: 236 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/1.048, allocations: 35.45 kB / 0.9502 GB, free: 200 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/1.048, allocations: 25.72 kB / 0.9502 GB, free: 168 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.049, allocations: 338.8 kB / 0.9505 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/1.049, allocations: 45.31 kB / 0.9506 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/1.049, allocations: 98.64 kB / 0.9507 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/1.049, allocations: 123.3 kB / 0.9508 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.049, allocations: 0.8125 kB / 0.9508 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003485/1.05, allocations: 161.2 kB / 0.9509 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.05, allocations: 4.781 kB / 0.9509 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.05, allocations: 4.031 kB / 0.9509 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/1.05, allocations: 7.938 kB / 0.951 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/1.05, allocations: 19.98 kB / 0.951 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.05, allocations: 3.984 kB / 0.951 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/1.05, allocations: 25.58 kB / 0.951 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/1.05, allocations: 4 kB / 0.951 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002036/1.05, allocations: 148 kB / 0.9511 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001518/1.05, allocations: 94.52 kB / 0.9512 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000226/1.051, allocations: 115.3 kB / 0.9513 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/1.051, allocations: 0 / 0.9513 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003238/1.051, allocations: 161.5 kB / 0.9515 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/1.051, allocations: 4 kB / 0.9515 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.051, allocations: 4 kB / 0.9515 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/1.051, allocations: 0 / 0.9515 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/1.051, allocations: 23.92 kB / 0.9515 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/1.051, allocations: 7.938 kB / 0.9515 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/1.051, allocations: 19.83 kB / 0.9516 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/1.051, allocations: 12.03 kB / 0.9516 GB, free: 14.68 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.0001464/1.051, allocations: 189.3 kB / 0.9517 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/1.051, allocations: 19.72 kB / 0.9518 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/1.052, allocations: 160 kB / 0.9519 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.052, allocations: 3.938 kB / 0.9519 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.052, allocations: 0 / 0.9519 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.052, allocations: 3.5 kB / 0.9519 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009401/1.053, allocations: 0.5862 MB / 0.9525 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.053, allocations: 8.031 kB / 0.9525 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/1.053, allocations: 23.92 kB / 0.9525 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.053, allocations: 4 kB / 0.9525 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/1.053, allocations: 4 kB / 0.9525 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/1.053, allocations: 7.984 kB / 0.9525 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.053, allocations: 4 kB / 0.9525 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/1.053, allocations: 294.5 kB / 0.9528 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.054, allocations: 116.7 kB / 0.9529 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/1.054, allocations: 15.94 kB / 0.953 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/1.054, allocations: 11.98 kB / 0.953 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/1.054, allocations: 11.92 kB / 0.953 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/1.054, allocations: 8 kB / 0.953 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001894/1.054, allocations: 190 kB / 0.9532 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.054, allocations: 4 kB / 0.9532 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004769/1.055, allocations: 95.84 kB / 0.9533 GB, free: 12.8 MB / 0.7481 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.0004518/1.055, allocations: 173.3 kB / 0.9534 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004527/1.055, allocations: 159.8 kB / 0.9536 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.056, allocations: 4 kB / 0.9536 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/1.056, allocations: 68.39 kB / 0.9536 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/1.056, allocations: 111.9 kB / 0.9538 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/1.057, allocations: 435.3 kB / 0.9542 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/1.058, allocations: 0.748 MB / 0.9549 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002255/1.058, allocations: 72.09 kB / 0.955 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/1.058, allocations: 23.44 kB / 0.955 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/1.058, allocations: 0 / 0.955 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.009525/1.067, allocations: 4.387 MB / 0.9593 GB, free: 6.699 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)