Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Obsolete.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.001061/0.00106, allocations: 99.59 kB / 15.71 MB, free: 452 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.001312/0.001312, allocations: 173.2 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.847/2.847, allocations: 436.7 MB / 0.7113 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004436, allocations: 8 kB / 0.8717 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9795/0.98, allocations: 153.7 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.03191/1.012, allocations: 30.85 MB / 1.052 GB, free: 2.156 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01399/1.026, allocations: 9.203 MB / 1.061 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/1.027, allocations: 19.88 kB / 1.061 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/1.028, allocations: 278.1 kB / 1.061 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/1.032, allocations: 1.135 MB / 1.062 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002526/1.035, allocations: 0.7094 MB / 1.063 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004069/1.039, allocations: 2.278 MB / 1.065 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/1.04, allocations: 494.5 kB / 1.066 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/1.042, allocations: 0.7894 MB / 1.066 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/1.043, allocations: 0.5718 MB / 1.067 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.229e-05/1.043, allocations: 40 kB / 1.067 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/1.046, allocations: 1.013 MB / 1.068 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/1.046, allocations: 131.4 kB / 1.068 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003865/1.046, allocations: 185.3 kB / 1.068 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/1.048, allocations: 1.126 MB / 1.069 GB, free: 148 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.048, allocations: 0 / 1.069 GB, free: 148 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.755e-06/1.048, allocations: 0 / 1.069 GB, free: 148 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.048, allocations: 0 / 1.069 GB, free: 148 kB / 0.8106 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.002234/1.05, allocations: 1.113 MB / 1.07 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.05, allocations: 15.92 kB / 1.07 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/1.05, allocations: 90.97 kB / 1.071 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/1.052, allocations: 0.6174 MB / 1.071 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/1.052, allocations: 37 kB / 1.071 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-05/1.052, allocations: 47.94 kB / 1.071 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008465/1.053, allocations: 442.4 kB / 1.072 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.053, allocations: 0 / 1.072 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/1.053, allocations: 19.94 kB / 1.072 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/1.053, allocations: 8 kB / 1.072 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/1.053, allocations: 375.8 kB / 1.072 GB, free: 13.3 MB / 0.8262 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.00401/1.057, allocations: 2.799 MB / 1.075 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/1.058, allocations: 379.7 kB / 1.075 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/1.059, allocations: 161 kB / 1.075 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/1.06, allocations: 1.429 MB / 1.077 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/1.06, allocations: 38.84 kB / 1.077 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 2.806e-06/1.06, allocations: 0 / 1.077 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.001103/1.061, allocations: 0.5103 MB / 1.077 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/1.061, allocations: 59.34 kB / 1.077 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/1.062, allocations: 0.7351 MB / 1.078 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/1.063, allocations: 33.7 kB / 1.078 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/1.063, allocations: 340.2 kB / 1.078 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.063, allocations: 114.2 kB / 1.078 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/1.063, allocations: 12 kB / 1.078 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.063, allocations: 322 kB / 1.079 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/1.063, allocations: 128.7 kB / 1.079 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/1.064, allocations: 213.4 kB / 1.079 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/1.064, allocations: 156 kB / 1.079 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.064, allocations: 0 / 1.079 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009178/1.065, allocations: 477.7 kB / 1.08 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/1.065, allocations: 130.1 kB / 1.08 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.065, allocations: 0 / 1.08 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.065, allocations: 4 kB / 1.08 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/1.066, allocations: 111.8 kB / 1.08 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004368/1.066, allocations: 0.5977 MB / 1.081 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/1.067, allocations: 67.52 kB / 1.081 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/1.067, allocations: 23.98 kB / 1.081 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/1.067, allocations: 4 kB / 1.081 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007367/1.068, allocations: 376 kB / 1.081 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.068, allocations: 7.938 kB / 1.081 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.461e-06/1.068, allocations: 4 kB / 1.081 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/1.068, allocations: 95.88 kB / 1.081 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/1.068, allocations: 4 kB / 1.081 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/1.068, allocations: 63.5 kB / 1.081 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.998e-05/1.068, allocations: 27.92 kB / 1.081 GB, free: 3.211 MB / 0.8262 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.0003281/1.069, allocations: 272.8 kB / 1.081 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.069, allocations: 75.06 kB / 1.082 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/1.07, allocations: 0.8319 MB / 1.082 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/1.07, allocations: 8 kB / 1.082 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.07, allocations: 3.938 kB / 1.082 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.071, allocations: 3.984 kB / 1.082 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/1.073, allocations: 1.474 MB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.073, allocations: 4 kB / 1.084 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/1.073, allocations: 87.83 kB / 1.084 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.073, allocations: 4 kB / 1.084 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/1.073, allocations: 11.98 kB / 1.084 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003536/1.074, allocations: 0.59 MB / 1.084 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.074, allocations: 4.031 kB / 1.084 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/1.075, allocations: 1 MB / 1.085 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/1.075, allocations: 247.9 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.075, allocations: 12 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.076, allocations: 35.97 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.076, allocations: 40.38 kB / 1.086 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.076, allocations: 23.98 kB / 1.086 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007611/1.077, allocations: 0.5146 MB / 1.086 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/1.077, allocations: 4 kB / 1.086 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001264/1.078, allocations: 455.5 kB / 1.087 GB, free: 13.41 MB / 0.8419 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.0009388/1.079, allocations: 472.7 kB / 1.087 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001554/1.081, allocations: 0.7489 MB / 1.088 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.081, allocations: 0 / 1.088 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005499/1.081, allocations: 350.7 kB / 1.088 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.083, allocations: 388.6 kB / 1.089 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/1.086, allocations: 1.803 MB / 1.09 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/1.086, allocations: 0.9392 MB / 1.091 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/1.087, allocations: 83.41 kB / 1.091 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of SimCode: time 8.91e-07/1.087, allocations: 0 / 1.091 GB, free: 8.559 MB / 0.8419 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 .