Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(BuildSysPro.IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.00125/0.001249, allocations: 100.5 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.002121/0.002121, allocations: 175.7 kB / 16.58 MB, free: 6.879 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.538/1.538, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.141/1.141, allocations: 143.4 MB / 435.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 8 kB / 0.5166 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 83.41 MB / 0.5981 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.4475/0.6322, allocations: 30.82 MB / 0.6282 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.6454, allocations: 9.191 MB / 0.6371 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.6468, allocations: 23.31 kB / 0.6372 GB, free: 20.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.6479, allocations: 280.5 kB / 0.6374 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.6515, allocations: 1.135 MB / 0.6385 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.654, allocations: 0.7147 MB / 0.6392 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003048/0.6571, allocations: 2.293 MB / 0.6415 GB, free: 18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.6579, allocations: 484.5 kB / 0.6419 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.6596, allocations: 0.7883 MB / 0.6427 GB, free: 17.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.6604, allocations: 0.5731 MB / 0.6433 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.339e-05/0.6605, allocations: 34.28 kB / 0.6433 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.6631, allocations: 1.017 MB / 0.6443 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.6632, allocations: 138.5 kB / 0.6444 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.6635, allocations: 179.5 kB / 0.6446 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.6651, allocations: 1.169 MB / 0.6457 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.6651, allocations: 0 / 0.6457 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6651, allocations: 3.938 kB / 0.6457 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.6651, allocations: 0 / 0.6457 GB, free: 16.46 MB / 0.4981 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.002016/0.6671, allocations: 1.108 MB / 0.6468 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6672, allocations: 11.88 kB / 0.6468 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.6674, allocations: 91.97 kB / 0.6469 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.6684, allocations: 0.6287 MB / 0.6475 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.6685, allocations: 34.95 kB / 0.6476 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.6686, allocations: 45.41 kB / 0.6476 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/0.6694, allocations: 442.5 kB / 0.648 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.6694, allocations: 0 / 0.648 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.6694, allocations: 19.03 kB / 0.6481 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.6695, allocations: 11.59 kB / 0.6481 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.6701, allocations: 372.2 kB / 0.6484 GB, free: 14.85 MB / 0.4981 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.003419/0.6736, allocations: 2.813 MB / 0.6512 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.6743, allocations: 381 kB / 0.6515 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.6746, allocations: 157.1 kB / 0.6517 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009919/0.6756, allocations: 1.433 MB / 0.6531 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.6757, allocations: 38.22 kB / 0.6531 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/0.6757, allocations: 7.938 kB / 0.6531 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001209/0.6769, allocations: 0.5004 MB / 0.6536 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.6769, allocations: 58.98 kB / 0.6537 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.678, allocations: 0.7344 MB / 0.6544 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.678, allocations: 32.02 kB / 0.6544 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.6783, allocations: 340 kB / 0.6547 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.6784, allocations: 131.9 kB / 0.6549 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.6784, allocations: 4 kB / 0.6549 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.6785, allocations: 323.6 kB / 0.6552 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.6788, allocations: 132.5 kB / 0.6553 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.6792, allocations: 198.3 kB / 0.6555 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.6795, allocations: 158 kB / 0.6557 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6795, allocations: 1.094 kB / 0.6557 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009478/0.6805, allocations: 476.7 kB / 0.6561 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/0.6805, allocations: 133.2 kB / 0.6562 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.6806, allocations: 8.078 kB / 0.6562 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6806, allocations: 6.812 kB / 0.6562 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.6811, allocations: 104.2 kB / 0.6563 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002876/0.6814, allocations: 0.5941 MB / 0.6569 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.682, allocations: 66.94 kB / 0.657 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/0.6821, allocations: 22.67 kB / 0.657 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.6821, allocations: 4.094 kB / 0.657 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000797/0.6829, allocations: 382.6 kB / 0.6574 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6829, allocations: 3.062 kB / 0.6574 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.6829, allocations: 4.25 kB / 0.6574 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.6833, allocations: 95.17 kB / 0.6575 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.6833, allocations: 6.703 kB / 0.6575 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.6838, allocations: 68.14 kB / 0.6576 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.6838, allocations: 26.91 kB / 0.6576 GB, free: 8.172 MB / 0.4981 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.0003539/0.6842, allocations: 259.6 kB / 0.6578 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.6843, allocations: 76.44 kB / 0.6579 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.6864, allocations: 0.8275 MB / 0.6587 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.979e-05/0.6865, allocations: 8.641 kB / 0.6587 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.6865, allocations: 5.047 kB / 0.6587 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.6865, allocations: 6.953 kB / 0.6587 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/0.6895, allocations: 1.472 MB / 0.6602 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.6895, allocations: 16.2 kB / 0.6602 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.6899, allocations: 84.3 kB / 0.6603 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.6899, allocations: 6.234 kB / 0.6603 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.69, allocations: 19.48 kB / 0.6603 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002597/0.6903, allocations: 0.589 MB / 0.6609 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6903, allocations: 1.156 kB / 0.6609 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.692, allocations: 1.001 MB / 0.6618 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.6924, allocations: 255.3 kB / 0.6621 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.6925, allocations: 11.73 kB / 0.6621 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.693, allocations: 35.89 kB / 0.6621 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.6931, allocations: 41.83 kB / 0.6622 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.6932, allocations: 26.02 kB / 0.6622 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009651/0.6941, allocations: 0.5152 MB / 0.6627 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6942, allocations: 3.938 kB / 0.6627 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00182/0.696, allocations: 451.9 kB / 0.6631 GB, free: 5.16 MB / 0.4981 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.001239/0.6972, allocations: 473.8 kB / 0.6636 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.699, allocations: 0.7496 MB / 0.6643 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.699, allocations: 0 / 0.6643 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006251/0.6997, allocations: 350.2 kB / 0.6646 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.7016, allocations: 388 kB / 0.665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.7046, allocations: 1.812 MB / 0.6668 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.7053, allocations: 0.9324 MB / 0.6677 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.7055, allocations: 91.14 kB / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of SimCode: time 1.353e-06/0.7056, allocations: 1.219 kB / 0.6678 GB, free: 2.547 MB / 0.4981 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 .