Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001516/0.001516, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.739/1.739, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001499/0.0015, allocations: 71.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2344, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5619/0.7963, allocations: 161.3 MB / 0.9423 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.7985, allocations: 0.9536 MB / 0.9433 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.799, allocations: 11.94 kB / 0.9433 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.7996, allocations: 155 kB / 0.9434 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.8012, allocations: 0.6263 MB / 0.944 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.8019, allocations: 217.2 kB / 0.9442 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000659/0.8026, allocations: 0.5071 MB / 0.9447 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.8029, allocations: 176.8 kB / 0.9449 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.8034, allocations: 235.1 kB / 0.9451 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.8036, allocations: 163.3 kB / 0.9453 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.8037, allocations: 12 kB / 0.9453 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009534/0.8046, allocations: 0.5417 MB / 0.9458 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.8047, allocations: 79.73 kB / 0.9459 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.8049, allocations: 119.4 kB / 0.946 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007418/0.8056, allocations: 495.6 kB / 0.9465 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8057, allocations: 0 / 0.9465 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.657e-06/0.8057, allocations: 0 / 0.9465 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8057, allocations: 3.938 kB / 0.9465 GB, free: 4.406 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001404/0.8071, allocations: 0.595 MB / 0.9471 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.8071, allocations: 8.031 kB / 0.9471 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.8074, allocations: 47.69 kB / 0.9471 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.8078, allocations: 290.3 kB / 0.9474 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.8078, allocations: 20.31 kB / 0.9474 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.8079, allocations: 16 kB / 0.9474 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.8084, allocations: 239.8 kB / 0.9477 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8084, allocations: 0.9375 kB / 0.9477 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.8084, allocations: 8 kB / 0.9477 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.8085, allocations: 12 kB / 0.9477 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005481/0.809, allocations: 251.8 kB / 0.9479 GB, free: 2.848 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.001313/0.8103, allocations: 0.8315 MB / 0.9487 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.8107, allocations: 146.5 kB / 0.9489 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.8109, allocations: 111.1 kB / 0.949 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.8112, allocations: 194.1 kB / 0.9492 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.8113, allocations: 30.56 kB / 0.9492 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.8113, allocations: 0 / 0.9492 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0008358/0.8121, allocations: 301.1 kB / 0.9495 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.8122, allocations: 59.39 kB / 0.9495 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.8124, allocations: 241 kB / 0.9498 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.8124, allocations: 29.7 kB / 0.9498 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.8125, allocations: 132.2 kB / 0.9499 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.8126, allocations: 53.08 kB / 0.95 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.8127, allocations: 33.7 kB / 0.95 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8128, allocations: 334.8 kB / 0.9503 GB, free: 216 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.813, allocations: 67.94 kB / 0.9504 GB, free: 148 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.8132, allocations: 103.6 kB / 0.9505 GB, free: 36 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.8136, allocations: 176.6 kB / 0.9507 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.8136, allocations: 0 / 0.9507 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004554/0.8141, allocations: 217.3 kB / 0.9509 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.8141, allocations: 7.938 kB / 0.9509 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.8141, allocations: 4 kB / 0.9509 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.8142, allocations: 0 / 0.9509 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.8144, allocations: 35.91 kB / 0.9509 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8144, allocations: 0 / 0.9509 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.8146, allocations: 23.83 kB / 0.9509 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.8146, allocations: 8.062 kB / 0.9509 GB, free: 15.55 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001506/0.8148, allocations: 137.8 kB / 0.9511 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.8148, allocations: 28.41 kB / 0.9511 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.8149, allocations: 29.83 kB / 0.9511 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8149, allocations: 4 kB / 0.9511 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.8149, allocations: 1.406 kB / 0.9511 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8149, allocations: 3.984 kB / 0.9511 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.816, allocations: 0.6801 MB / 0.9518 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.816, allocations: 1 kB / 0.9518 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.8162, allocations: 36.19 kB / 0.9518 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8162, allocations: 0 / 0.9518 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.8162, allocations: 8 kB / 0.9518 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.8162, allocations: 7.938 kB / 0.9519 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.8162, allocations: 7.922 kB / 0.9519 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.8167, allocations: 354 kB / 0.9522 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.8169, allocations: 112.8 kB / 0.9523 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.8169, allocations: 6.25 kB / 0.9523 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.8171, allocations: 15.98 kB / 0.9523 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.8171, allocations: 15.92 kB / 0.9523 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.8172, allocations: 8 kB / 0.9523 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001649/0.8173, allocations: 177.6 kB / 0.9525 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8173, allocations: 0 / 0.9525 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003548/0.8177, allocations: 59.91 kB / 0.9526 GB, free: 13.75 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 (14): * Single equations (assignments): 14 * 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.0004096/0.8181, allocations: 154.5 kB / 0.9527 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004891/0.8186, allocations: 180.8 kB / 0.9529 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8186, allocations: 0 / 0.9529 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.8189, allocations: 99.8 kB / 0.953 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.8196, allocations: 125.6 kB / 0.9531 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.8204, allocations: 479.6 kB / 0.9536 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.8208, allocations: 0.748 MB / 0.9543 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.8209, allocations: 19.44 kB / 0.9543 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.8209, allocations: 0 / 0.9543 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.006203/0.8271, allocations: 3.705 MB / 0.9579 GB, free: 8.305 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)