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.0008111/0.000811, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009227/0.0009227, allocations: 171.8 kB / 16.58 MB, free: 6.402 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.825/1.825, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.8/1.8, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.000556/0.0005562, allocations: 12.84 kB / 0.6743 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3055, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.03149/0.3371, allocations: 30.82 MB / 0.818 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.3498, allocations: 9.12 MB / 0.8269 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.351, allocations: 23.88 kB / 0.8269 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.3521, allocations: 286.1 kB / 0.8272 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.3558, allocations: 1.13 MB / 0.8283 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.3585, allocations: 0.716 MB / 0.829 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003461/0.362, allocations: 2.29 MB / 0.8313 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000928/0.3629, allocations: 490.5 kB / 0.8317 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.365, allocations: 0.7854 MB / 0.8325 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.366, allocations: 0.5757 MB / 0.8331 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.304e-05/0.3661, allocations: 32 kB / 0.8331 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.3688, allocations: 1.01 MB / 0.8341 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.369, allocations: 131.4 kB / 0.8342 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.3694, allocations: 181.3 kB / 0.8344 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.3712, allocations: 1.103 MB / 0.8354 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3712, allocations: 0 / 0.8354 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3712, allocations: 0 / 0.8354 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3712, allocations: 0 / 0.8354 GB, free: 11.12 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.002147/0.3734, allocations: 1.102 MB / 0.8365 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3734, allocations: 12.03 kB / 0.8365 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3736, allocations: 94.86 kB / 0.8366 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.375, allocations: 0.6134 MB / 0.8372 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.375, allocations: 37 kB / 0.8373 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.965e-05/0.3752, allocations: 51.91 kB / 0.8373 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008792/0.376, allocations: 438.4 kB / 0.8377 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3761, allocations: 0 / 0.8377 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.3761, allocations: 20 kB / 0.8377 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3761, allocations: 11.95 kB / 0.8378 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.3772, allocations: 375.8 kB / 0.8381 GB, free: 8.293 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.004418/0.3816, allocations: 2.779 MB / 0.8408 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008782/0.3826, allocations: 379.7 kB / 0.8412 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.3829, allocations: 161.1 kB / 0.8413 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.3843, allocations: 1.436 MB / 0.8427 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.3844, allocations: 34.84 kB / 0.8428 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 2.624e-06/0.3844, allocations: 0 / 0.8428 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.001237/0.3856, allocations: 0.5062 MB / 0.8433 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.3857, allocations: 59.41 kB / 0.8433 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.3869, allocations: 0.7274 MB / 0.844 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.3869, allocations: 29.7 kB / 0.8441 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.3874, allocations: 336.2 kB / 0.8444 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.3875, allocations: 126.1 kB / 0.8445 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.3875, allocations: 12 kB / 0.8445 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3877, allocations: 329.9 kB / 0.8448 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.388, allocations: 128.7 kB / 0.845 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.3884, allocations: 213.3 kB / 0.8452 GB, free: 400 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.3888, allocations: 160.7 kB / 0.8453 GB, free: 240 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3888, allocations: 0 / 0.8453 GB, free: 240 kB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009681/0.3897, allocations: 470.1 kB / 0.8458 GB, free: 15.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.3899, allocations: 130.1 kB / 0.8459 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.3899, allocations: 4 kB / 0.8459 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.3899, allocations: 0 / 0.8459 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.3905, allocations: 107.9 kB / 0.846 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004879/0.391, allocations: 0.5936 MB / 0.8466 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/0.3918, allocations: 71.53 kB / 0.8466 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/0.3919, allocations: 27.98 kB / 0.8467 GB, free: 14.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.3919, allocations: 4 kB / 0.8467 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007703/0.3927, allocations: 379.3 kB / 0.847 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3927, allocations: 8.156 kB / 0.847 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/0.3927, allocations: 0 / 0.847 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.3931, allocations: 95.88 kB / 0.8471 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3931, allocations: 7.938 kB / 0.8471 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.3936, allocations: 63.5 kB / 0.8472 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.3936, allocations: 23.98 kB / 0.8472 GB, free: 14.23 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004801/0.3941, allocations: 265.7 kB / 0.8475 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.3943, allocations: 75.06 kB / 0.8476 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.396, allocations: 0.8217 MB / 0.8484 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.396, allocations: 11.98 kB / 0.8484 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.3961, allocations: 4 kB / 0.8484 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.3961, allocations: 3.984 kB / 0.8484 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.3986, allocations: 1.466 MB / 0.8498 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.3987, allocations: 4 kB / 0.8498 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.399, allocations: 83.88 kB / 0.8499 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.399, allocations: 4 kB / 0.8499 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.3991, allocations: 15.98 kB / 0.8499 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004276/0.3995, allocations: 0.5939 MB / 0.8505 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/0.3995, allocations: 7.969 kB / 0.8505 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.4011, allocations: 0.9926 MB / 0.8515 GB, free: 9.777 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.4015, allocations: 247.8 kB / 0.8517 GB, free: 9.516 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4016, allocations: 19.89 kB / 0.8517 GB, free: 9.496 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.402, allocations: 39.91 kB / 0.8518 GB, free: 9.457 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4021, allocations: 40.38 kB / 0.8518 GB, free: 9.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.4021, allocations: 24.12 kB / 0.8518 GB, free: 9.395 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007717/0.4029, allocations: 0.5146 MB / 0.8523 GB, free: 8.883 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4029, allocations: 0 / 0.8523 GB, free: 8.883 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001353/0.4043, allocations: 455.4 kB / 0.8528 GB, free: 8.438 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001069/0.4054, allocations: 463.3 kB / 0.8532 GB, free: 7.984 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.4071, allocations: 0.7373 MB / 0.8539 GB, free: 7.223 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4071, allocations: 0.625 kB / 0.8539 GB, free: 7.223 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.4077, allocations: 353.8 kB / 0.8543 GB, free: 6.863 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.4095, allocations: 377.5 kB / 0.8546 GB, free: 6.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.4124, allocations: 1.799 MB / 0.8564 GB, free: 4.652 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.4131, allocations: 0.9392 MB / 0.8573 GB, free: 3.688 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.4134, allocations: 79.41 kB / 0.8574 GB, free: 3.609 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/0.4134, allocations: 0 / 0.8574 GB, free: 3.609 MB / 0.67 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 0 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 2 .