Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001584/0.001584, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.596/1.596, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.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.737/1.737, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001606/0.001606, allocations: 63.27 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2692, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.03565/0.3049, allocations: 33.29 MB / 0.8152 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.319, allocations: 9.84 MB / 0.8248 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.3209, allocations: 23.81 kB / 0.8248 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.3228, allocations: 322.2 kB / 0.8251 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005772/0.3286, allocations: 1.283 MB / 0.8264 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.3325, allocations: 0.8357 MB / 0.8272 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005188/0.3377, allocations: 2.652 MB / 0.8298 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.339, allocations: 0.5222 MB / 0.8303 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.3421, allocations: 0.8633 MB / 0.8311 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.3434, allocations: 0.6262 MB / 0.8317 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.3435, allocations: 40 kB / 0.8318 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004319/0.3479, allocations: 1.251 MB / 0.833 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.3482, allocations: 147.3 kB / 0.8331 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007231/0.3489, allocations: 421.8 kB / 0.8335 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003688/0.3526, allocations: 1.609 MB / 0.8351 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3527, allocations: 0 / 0.8351 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3527, allocations: 0 / 0.8351 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.3527, allocations: 0 / 0.8351 GB, free: 8.105 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.003139/0.3558, allocations: 1.23 MB / 0.8363 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3559, allocations: 8.031 kB / 0.8363 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.3562, allocations: 91.89 kB / 0.8364 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.3577, allocations: 0.6523 MB / 0.837 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.3578, allocations: 36.94 kB / 0.8371 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3579, allocations: 48 kB / 0.8371 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.3591, allocations: 434.3 kB / 0.8375 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.3592, allocations: 4 kB / 0.8375 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.3592, allocations: 16 kB / 0.8376 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.3593, allocations: 12 kB / 0.8376 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3604, allocations: 367.8 kB / 0.8379 GB, free: 5.125 MB / 0.6544 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.005691/0.3661, allocations: 2.76 MB / 0.8406 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.3673, allocations: 378.1 kB / 0.841 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.3678, allocations: 157.1 kB / 0.8411 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/0.3696, allocations: 1.425 MB / 0.8425 GB, free: 15.81 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3696, allocations: 34.84 kB / 0.8426 GB, free: 15.77 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 3.016e-06/0.3696, allocations: 0 / 0.8426 GB, free: 15.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.00175/0.3714, allocations: 0.4948 MB / 0.843 GB, free: 15.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3715, allocations: 55.41 kB / 0.8431 GB, free: 15.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.3731, allocations: 0.7313 MB / 0.8438 GB, free: 14.46 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.3731, allocations: 33.7 kB / 0.8438 GB, free: 14.42 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.3736, allocations: 332.2 kB / 0.8442 GB, free: 14.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.3737, allocations: 130.1 kB / 0.8443 GB, free: 13.96 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.374, allocations: 85.95 kB / 0.8444 GB, free: 13.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.3742, allocations: 329.9 kB / 0.8447 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.3747, allocations: 134.3 kB / 0.8448 GB, free: 13.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.3752, allocations: 205.4 kB / 0.845 GB, free: 13.19 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.3762, allocations: 338 kB / 0.8453 GB, free: 12.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3762, allocations: 0 / 0.8453 GB, free: 12.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001508/0.3777, allocations: 469.8 kB / 0.8458 GB, free: 12.38 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.3778, allocations: 4 kB / 0.8458 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.3778, allocations: 4 kB / 0.8458 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.3778, allocations: 4 kB / 0.8458 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007322/0.3786, allocations: 103.9 kB / 0.8459 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004989/0.3791, allocations: 0.594 MB / 0.8465 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.3799, allocations: 63.41 kB / 0.8465 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.503e-05/0.38, allocations: 23.98 kB / 0.8465 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007291/0.3808, allocations: 285.6 kB / 0.8468 GB, free: 11.28 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005294/0.3813, allocations: 193.6 kB / 0.847 GB, free: 11.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009484/0.3823, allocations: 336.8 kB / 0.8473 GB, free: 10.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.3823, allocations: 0 / 0.8473 GB, free: 10.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.001474/0.3838, allocations: 464.2 kB / 0.8478 GB, free: 10.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3838, allocations: 8.922 kB / 0.8478 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.3838, allocations: 4 kB / 0.8478 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3839, allocations: 4 kB / 0.8478 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.3844, allocations: 95.81 kB / 0.8479 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3844, allocations: 7.938 kB / 0.8479 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.3852, allocations: 43.75 kB / 0.8479 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.3853, allocations: 23.98 kB / 0.8479 GB, free: 10.08 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000269/0.3856, allocations: 208.2 kB / 0.8481 GB, free: 9.871 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.3858, allocations: 75.06 kB / 0.8482 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.3881, allocations: 0.8128 MB / 0.849 GB, free: 9.004 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/0.3881, allocations: 4 kB / 0.849 GB, free: 9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.3881, allocations: 0 / 0.849 GB, free: 9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.3882, allocations: 3.984 kB / 0.849 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.3916, allocations: 1.462 MB / 0.8504 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/0.3916, allocations: 4 kB / 0.8504 GB, free: 7.461 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.3922, allocations: 79.89 kB / 0.8505 GB, free: 7.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.3922, allocations: 4 kB / 0.8505 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.3923, allocations: 12.08 kB / 0.8505 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004945/0.3928, allocations: 0.5938 MB / 0.8511 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3928, allocations: 11.91 kB / 0.8511 GB, free: 6.738 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.3951, allocations: 0.9847 MB / 0.8521 GB, free: 5.723 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.3956, allocations: 231.9 kB / 0.8523 GB, free: 5.477 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.3958, allocations: 8 kB / 0.8523 GB, free: 5.469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/0.3965, allocations: 31.98 kB / 0.8523 GB, free: 5.438 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.3967, allocations: 44.31 kB / 0.8524 GB, free: 5.395 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.3968, allocations: 23.98 kB / 0.8524 GB, free: 5.371 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001156/0.3979, allocations: 0.5224 MB / 0.8529 GB, free: 4.852 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.22e-07/0.398, allocations: 3.938 kB / 0.8529 GB, free: 4.848 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001437/0.3994, allocations: 455.5 kB / 0.8534 GB, free: 4.402 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * 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 (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.4006, allocations: 479 kB / 0.8538 GB, free: 3.934 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.4022, allocations: 0.7375 MB / 0.8545 GB, free: 3.176 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4022, allocations: 0 / 0.8545 GB, free: 3.176 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006261/0.4028, allocations: 345.8 kB / 0.8549 GB, free: 2.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.4049, allocations: 375.4 kB / 0.8552 GB, free: 2.461 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.4077, allocations: 1.738 MB / 0.8569 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.4082, allocations: 0.9353 MB / 0.8578 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007418/0.409, allocations: 209.4 kB / 0.858 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.4092, allocations: 79.41 kB / 0.8581 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.4092, allocations: 0 / 0.8581 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of Templates: time 0.03407/0.4433, allocations: 18.96 MB / 0.8766 GB, free: 12.76 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)