Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 165 kB / 24.25 MB, free: 212 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9482/0.9482, allocations: 177.1 MB / 204.7 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.936/1.936, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7754 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.154e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.01737/0.01738, allocations: 26.03 MB / 0.8008 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.03207, allocations: 10.61 MB / 0.8111 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.034, allocations: 154.8 kB / 0.8113 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.03496, allocations: 0.5985 MB / 0.8119 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.03848, allocations: 2.507 MB / 0.8143 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.04084, allocations: 1.732 MB / 0.816 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004598/0.04544, allocations: 6.081 MB / 0.822 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.04732, allocations: 1.545 MB / 0.8235 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.05033, allocations: 3.052 MB / 0.8264 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.05182, allocations: 1.396 MB / 0.8278 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002587/0.05208, allocations: 200 kB / 0.828 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.05322, allocations: 0.8073 MB / 0.8288 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.05353, allocations: 0.5289 MB / 0.8293 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006848/0.05421, allocations: 0.8504 MB / 0.8301 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.05597, allocations: 2.121 MB / 0.8322 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.05597, allocations: 1.125 kB / 0.8322 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.242e-06/0.05597, allocations: 0 / 0.8322 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.317e-05/0.05601, allocations: 0 / 0.8322 GB, free: 11.03 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.002334/0.05834, allocations: 2.494 MB / 0.8346 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.05837, allocations: 9.344 kB / 0.8346 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/0.05889, allocations: 343.5 kB / 0.835 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.06051, allocations: 1.368 MB / 0.8363 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.06056, allocations: 102.7 kB / 0.8364 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.06068, allocations: 144 kB / 0.8365 GB, free: 6.469 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.06166, allocations: 1.158 MB / 0.8377 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.06168, allocations: 0 / 0.8377 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.06175, allocations: 60 kB / 0.8377 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.06178, allocations: 35.94 kB / 0.8378 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.06226, allocations: 407.3 kB / 0.8382 GB, free: 4.688 MB / 0.7917 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.003536/0.06579, allocations: 4.323 MB / 0.8424 GB, free: 232 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.06636, allocations: 492.4 kB / 0.8428 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.06652, allocations: 152 kB / 0.843 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.06674, allocations: 88.56 kB / 0.8431 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.06676, allocations: 47.22 kB / 0.8431 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=85): time 2.064e-06/0.06676, allocations: 0 / 0.8431 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=85): time 0.0005732/0.06734, allocations: 492.5 kB / 0.8436 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.06736, allocations: 60.06 kB / 0.8437 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.0681, allocations: 1.19 MB / 0.8448 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.06815, allocations: 41.7 kB / 0.8449 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.06843, allocations: 0.6664 MB / 0.8455 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.06858, allocations: 321.2 kB / 0.8458 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.06875, allocations: 198.5 kB / 0.846 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.06882, allocations: 353.8 kB / 0.8463 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.06896, allocations: 111.9 kB / 0.8464 GB, free: 12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.06927, allocations: 0.5904 MB / 0.847 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.06978, allocations: 0.5655 MB / 0.8476 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.06979, allocations: 0 / 0.8476 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0005726/0.07036, allocations: 0.5835 MB / 0.8481 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.07038, allocations: 11.98 kB / 0.8482 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.0704, allocations: 12.84 kB / 0.8482 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.07042, allocations: 15.98 kB / 0.8482 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.07084, allocations: 251.5 kB / 0.8484 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.07085, allocations: 15.98 kB / 0.8484 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.07122, allocations: 99.3 kB / 0.8485 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.07127, allocations: 43.97 kB / 0.8486 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002776/0.07155, allocations: 212 kB / 0.8488 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002937/0.07184, allocations: 0.5943 MB / 0.8494 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004252/0.07227, allocations: 0.551 MB / 0.8499 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.36e-06/0.07228, allocations: 4 kB / 0.8499 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.0005589/0.07283, allocations: 0.5919 MB / 0.8505 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.07284, allocations: 8 kB / 0.8505 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.07286, allocations: 15.98 kB / 0.8505 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.07287, allocations: 12 kB / 0.8505 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.07326, allocations: 239.6 kB / 0.8507 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.07327, allocations: 19.94 kB / 0.8508 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.0736, allocations: 87.67 kB / 0.8508 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.07366, allocations: 47.97 kB / 0.8509 GB, free: 6.855 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001352/0.07379, allocations: 247.8 kB / 0.8511 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.07392, allocations: 131.9 kB / 0.8512 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.07503, allocations: 1.053 MB / 0.8523 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.07505, allocations: 19.98 kB / 0.8523 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.07505, allocations: 0 / 0.8523 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004036/0.07545, allocations: 494.7 kB / 0.8528 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.07736, allocations: 1.711 MB / 0.8544 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.07738, allocations: 7.938 kB / 0.8544 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.07774, allocations: 183.8 kB / 0.8546 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.07775, allocations: 8 kB / 0.8546 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.07779, allocations: 31.98 kB / 0.8547 GB, free: 2.859 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.0778, allocations: 16.36 kB / 0.8547 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.0778, allocations: 11.98 kB / 0.8547 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.07868, allocations: 1.013 MB / 0.8557 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.07898, allocations: 258.3 kB / 0.8559 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.07909, allocations: 23.98 kB / 0.8559 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.07943, allocations: 43.98 kB / 0.856 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.07954, allocations: 104.7 kB / 0.8561 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.0796, allocations: 43.91 kB / 0.8561 GB, free: 1.293 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004207/0.08002, allocations: 0.6037 MB / 0.8567 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.08002, allocations: 0 / 0.8567 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001165/0.08118, allocations: 0.9198 MB / 0.8576 GB, free: 15.77 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (114): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.0003264/0.08151, allocations: 239.5 kB / 0.8578 GB, free: 15.54 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000836/0.08234, allocations: 1.011 MB / 0.8588 GB, free: 14.47 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/0.08236, allocations: 20.5 kB / 0.8589 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.08267, allocations: 423.9 kB / 0.8593 GB, free: 14.01 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.08422, allocations: 0.791 MB / 0.86 GB, free: 13.24 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.08716, allocations: 3.004 MB / 0.863 GB, free: 10.14 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.08738, allocations: 343.5 kB / 0.8633 GB, free: 9.773 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0007627/0.08814, allocations: 429.5 kB / 0.8637 GB, free: 9.348 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.08922, allocations: 0.6823 MB / 0.8644 GB, free: 8.656 MB / 0.823 GB Notification: Performance of SimCode: time 7.41e-07/0.08923, allocations: 0 / 0.8644 GB, free: 8.656 MB / 0.823 GB Notification: Performance of Templates: time 0.03669/0.1259, allocations: 35.63 MB / 0.8992 GB, free: 5.848 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.660756521858275]