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.001232/0.001232, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001396/0.001396, allocations: 189.9 kB / 16.25 MB, free: 6.629 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.667/1.667, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.842/1.842, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001358/0.001358, allocations: 62.62 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3027, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.04072/0.3435, allocations: 33.22 MB / 0.8153 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.3569, allocations: 9.711 MB / 0.8248 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.3582, allocations: 19.88 kB / 0.8248 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.3597, allocations: 350.1 kB / 0.8251 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.3636, allocations: 1.303 MB / 0.8264 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.3663, allocations: 0.8505 MB / 0.8272 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002907/0.3692, allocations: 2.044 MB / 0.8292 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008402/0.37, allocations: 0.6089 MB / 0.8298 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.3721, allocations: 0.9571 MB / 0.8308 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008748/0.373, allocations: 0.6419 MB / 0.8314 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.385e-05/0.3731, allocations: 68 kB / 0.8315 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.3757, allocations: 1.345 MB / 0.8328 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.376, allocations: 179.2 kB / 0.8329 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.3765, allocations: 449.9 kB / 0.8334 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.3789, allocations: 1.632 MB / 0.835 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3789, allocations: 0 / 0.835 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3789, allocations: 0 / 0.835 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.3789, allocations: 0 / 0.835 GB, free: 8.359 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.002178/0.3811, allocations: 1.242 MB / 0.8362 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3812, allocations: 12.03 kB / 0.8362 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.3814, allocations: 87.91 kB / 0.8363 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.3824, allocations: 0.6445 MB / 0.8369 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.3825, allocations: 37 kB / 0.8369 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.929e-05/0.3826, allocations: 44 kB / 0.837 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008005/0.3834, allocations: 434.4 kB / 0.8374 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3834, allocations: 0 / 0.8374 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.3835, allocations: 16 kB / 0.8374 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3835, allocations: 12 kB / 0.8374 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/0.3842, allocations: 371.8 kB / 0.8378 GB, free: 5.379 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.00404/0.3882, allocations: 2.76 MB / 0.8405 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.3891, allocations: 379.7 kB / 0.8408 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.3894, allocations: 153.1 kB / 0.841 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.3908, allocations: 1.421 MB / 0.8424 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3908, allocations: 34.84 kB / 0.8424 GB, free: 28 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 4.859e-06/0.3908, allocations: 0 / 0.8424 GB, free: 28 kB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.001138/0.392, allocations: 0.4987 MB / 0.8429 GB, free: 15.52 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.392, allocations: 55.34 kB / 0.8429 GB, free: 15.45 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/0.393, allocations: 0.7391 MB / 0.8437 GB, free: 14.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.393, allocations: 29.7 kB / 0.8437 GB, free: 14.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.3933, allocations: 332.2 kB / 0.844 GB, free: 14.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.3935, allocations: 130 kB / 0.8441 GB, free: 14.21 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.3936, allocations: 89.95 kB / 0.8442 GB, free: 14.12 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3938, allocations: 325.9 kB / 0.8445 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.3941, allocations: 138.3 kB / 0.8447 GB, free: 13.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.3945, allocations: 205.3 kB / 0.8448 GB, free: 13.44 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005939/0.3951, allocations: 330.1 kB / 0.8452 GB, free: 13.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3951, allocations: 0 / 0.8452 GB, free: 13.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008624/0.396, allocations: 469.9 kB / 0.8456 GB, free: 12.63 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.396, allocations: 4 kB / 0.8456 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.396, allocations: 4 kB / 0.8456 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3961, allocations: 4 kB / 0.8456 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.3965, allocations: 111.8 kB / 0.8457 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005158/0.3971, allocations: 0.5939 MB / 0.8463 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.3976, allocations: 67.41 kB / 0.8464 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.3976, allocations: 23.98 kB / 0.8464 GB, free: 11.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005073/0.3981, allocations: 273.6 kB / 0.8467 GB, free: 11.54 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003187/0.3985, allocations: 201.6 kB / 0.8469 GB, free: 11.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005658/0.399, allocations: 336.8 kB / 0.8472 GB, free: 10.97 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.399, allocations: 3.938 kB / 0.8472 GB, free: 10.97 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0009184/0.4, allocations: 468.2 kB / 0.8476 GB, free: 10.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.4, allocations: 4 kB / 0.8476 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4, allocations: 4 kB / 0.8476 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.4, allocations: 4 kB / 0.8476 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.4003, allocations: 91.81 kB / 0.8477 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.4003, allocations: 0 / 0.8477 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.4008, allocations: 51.75 kB / 0.8478 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.4008, allocations: 23.98 kB / 0.8478 GB, free: 10.33 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.0002205/0.4011, allocations: 199 kB / 0.848 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.4012, allocations: 79.16 kB / 0.8481 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.4026, allocations: 0.8084 MB / 0.8488 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.4027, allocations: 11.94 kB / 0.8489 GB, free: 9.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4027, allocations: 3.984 kB / 0.8489 GB, free: 9.246 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4027, allocations: 0 / 0.8489 GB, free: 9.246 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.405, allocations: 1.462 MB / 0.8503 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.4051, allocations: 0 / 0.8503 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.4054, allocations: 91.81 kB / 0.8504 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4054, allocations: 0 / 0.8504 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.4055, allocations: 16 kB / 0.8504 GB, free: 7.609 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003472/0.4058, allocations: 0.6016 MB / 0.851 GB, free: 6.984 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4058, allocations: 0 / 0.851 GB, free: 6.984 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.4073, allocations: 0.9886 MB / 0.8519 GB, free: 5.965 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.4076, allocations: 227.9 kB / 0.8522 GB, free: 5.723 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4077, allocations: 12 kB / 0.8522 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.4081, allocations: 31.97 kB / 0.8522 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4082, allocations: 44.33 kB / 0.8522 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.4082, allocations: 19.98 kB / 0.8523 GB, free: 5.617 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007247/0.409, allocations: 0.5186 MB / 0.8528 GB, free: 5.102 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.409, allocations: 0 / 0.8528 GB, free: 5.102 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001285/0.4103, allocations: 463.5 kB / 0.8532 GB, free: 4.648 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.00102/0.4113, allocations: 485.8 kB / 0.8537 GB, free: 4.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.4132, allocations: 0.761 MB / 0.8544 GB, free: 3.395 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4132, allocations: 0 / 0.8544 GB, free: 3.395 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.4138, allocations: 345.9 kB / 0.8548 GB, free: 3.039 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.4159, allocations: 403.3 kB / 0.8551 GB, free: 2.656 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.4188, allocations: 1.741 MB / 0.8568 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007777/0.4196, allocations: 0.9353 MB / 0.8577 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008371/0.4204, allocations: 211.7 kB / 0.858 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.4207, allocations: 79.41 kB / 0.858 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of SimCode: time 9.12e-07/0.4207, allocations: 0 / 0.858 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of Templates: time 0.03376/0.4544, allocations: 19.61 MB / 0.8772 GB, free: 12.32 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)