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.001341/0.001341, allocations: 106.4 kB / 16.27 MB, free: 5.883 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.00154/0.00154, allocations: 190.1 kB / 17.2 MB, free: 5.527 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.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.764/1.764, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001423/0.001423, allocations: 64.28 kB / 0.6721 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2326, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.5651/0.7977, allocations: 161.5 MB / 0.9418 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00295/0.8007, allocations: 1.693 MB / 0.9434 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.8011, allocations: 11.94 kB / 0.9434 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.8017, allocations: 162.9 kB / 0.9436 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.803, allocations: 0.5061 MB / 0.9441 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.8041, allocations: 419.2 kB / 0.9445 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.8049, allocations: 0.5732 MB / 0.945 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.8053, allocations: 177.1 kB / 0.9452 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.8059, allocations: 318.8 kB / 0.9455 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.8061, allocations: 151.2 kB / 0.9456 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.8061, allocations: 16 kB / 0.9457 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.8072, allocations: 0.6898 MB / 0.9463 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.8073, allocations: 83.73 kB / 0.9464 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.8075, allocations: 115.3 kB / 0.9465 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007452/0.8082, allocations: 0.4908 MB / 0.947 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8083, allocations: 0 / 0.947 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8083, allocations: 0 / 0.947 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.8083, allocations: 4 kB / 0.947 GB, free: 3.707 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.0008119/0.8091, allocations: 0.5827 MB / 0.9476 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.8091, allocations: 12.03 kB / 0.9476 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/0.8095, allocations: 55.59 kB / 0.9476 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.8099, allocations: 289.3 kB / 0.9479 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.8099, allocations: 12 kB / 0.9479 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.8099, allocations: 16 kB / 0.9479 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.8103, allocations: 189.2 kB / 0.9481 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8103, allocations: 0.5625 kB / 0.9481 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.8103, allocations: 12 kB / 0.9481 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.8103, allocations: 3.938 kB / 0.9481 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.8106, allocations: 131.8 kB / 0.9483 GB, free: 2.32 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.0009946/0.8117, allocations: 0.7885 MB / 0.949 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.8119, allocations: 83.28 kB / 0.9491 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.8121, allocations: 72.88 kB / 0.9492 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003369/0.8124, allocations: 194.2 kB / 0.9494 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.8125, allocations: 30.56 kB / 0.9494 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.8125, allocations: 3.938 kB / 0.9494 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006647/0.8131, allocations: 222.8 kB / 0.9496 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.8132, allocations: 55.34 kB / 0.9497 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.8134, allocations: 267 kB / 0.9499 GB, free: 480 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.8135, allocations: 29.7 kB / 0.9499 GB, free: 444 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.8136, allocations: 147.9 kB / 0.9501 GB, free: 292 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.8136, allocations: 35.47 kB / 0.9501 GB, free: 256 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.8137, allocations: 29.7 kB / 0.9502 GB, free: 220 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8138, allocations: 338.8 kB / 0.9505 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.814, allocations: 40.83 kB / 0.9505 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.8141, allocations: 98.05 kB / 0.9506 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.8144, allocations: 115.3 kB / 0.9507 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8144, allocations: 4 kB / 0.9507 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003321/0.8148, allocations: 169.2 kB / 0.9509 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.8148, allocations: 4.781 kB / 0.9509 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8148, allocations: 1.688 kB / 0.9509 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.8148, allocations: 7.938 kB / 0.9509 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.815, allocations: 20.73 kB / 0.9509 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.815, allocations: 0 / 0.9509 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.8152, allocations: 19.89 kB / 0.9509 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.8152, allocations: 8 kB / 0.9509 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001915/0.8154, allocations: 152.1 kB / 0.9511 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001645/0.8156, allocations: 91.98 kB / 0.9512 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002343/0.8158, allocations: 111.4 kB / 0.9513 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.8158, allocations: 7.938 kB / 0.9513 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003194/0.8161, allocations: 153.4 kB / 0.9514 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.8162, allocations: 4 kB / 0.9514 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.8162, allocations: 0.75 kB / 0.9514 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.8162, allocations: 4 kB / 0.9514 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.8163, allocations: 23.92 kB / 0.9515 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.8163, allocations: 3.938 kB / 0.9515 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.8165, allocations: 31.84 kB / 0.9515 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.8165, allocations: 8 kB / 0.9515 GB, free: 14.74 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.000124/0.8166, allocations: 185.3 kB / 0.9517 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.8167, allocations: 23.72 kB / 0.9517 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.8171, allocations: 165.2 kB / 0.9519 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8171, allocations: 4.219 kB / 0.9519 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8171, allocations: 4 kB / 0.9519 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8171, allocations: 0 / 0.9519 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008862/0.818, allocations: 0.586 MB / 0.9524 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.818, allocations: 0 / 0.9524 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.8181, allocations: 31.92 kB / 0.9525 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.8181, allocations: 4 kB / 0.9525 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.8181, allocations: 0 / 0.9525 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.8182, allocations: 4.625 kB / 0.9525 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8182, allocations: 0 / 0.9525 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.8186, allocations: 307.1 kB / 0.9528 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.8187, allocations: 112.8 kB / 0.9529 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.8187, allocations: 8 kB / 0.9529 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.8189, allocations: 13.8 kB / 0.9529 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.819, allocations: 19.86 kB / 0.9529 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.819, allocations: 4 kB / 0.9529 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001839/0.8192, allocations: 197.9 kB / 0.9531 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8192, allocations: 4 kB / 0.9531 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004719/0.8197, allocations: 95.84 kB / 0.9532 GB, free: 12.85 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.0003862/0.82, allocations: 152.4 kB / 0.9534 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.8205, allocations: 168.2 kB / 0.9535 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8206, allocations: 0 / 0.9535 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.8207, allocations: 60.09 kB / 0.9536 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.8215, allocations: 123.6 kB / 0.9537 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/0.8223, allocations: 472.9 kB / 0.9541 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.8227, allocations: 0.7635 MB / 0.9549 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.8227, allocations: 19.44 kB / 0.9549 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of SimCode: time 6.22e-07/0.8227, allocations: 0 / 0.9549 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of Templates: time 0.005775/0.8285, allocations: 3.704 MB / 0.9585 GB, free: 7.445 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)