Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0009343/0.0009342, allocations: 96.11 kB / 16.33 MB, free: 5.949 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.001005/0.001005, allocations: 189.4 kB / 17.23 MB, free: 5.887 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.547/1.547, allocations: 223.3 MB / 241.2 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6995/0.6995, allocations: 114.3 MB / 406.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 8 kB / 494.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 77.27 MB / 0.5583 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.4534/0.6489, allocations: 30.8 MB / 0.5884 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.6639, allocations: 9.195 MB / 0.5974 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.6656, allocations: 21.06 kB / 0.5974 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.6673, allocations: 281.5 kB / 0.5977 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005195/0.6725, allocations: 1.13 MB / 0.5988 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.6762, allocations: 0.7177 MB / 0.5995 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004943/0.6812, allocations: 2.292 MB / 0.6017 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.6828, allocations: 494.6 kB / 0.6022 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002849/0.6857, allocations: 0.7815 MB / 0.6029 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.6876, allocations: 0.5755 MB / 0.6035 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002575/0.6879, allocations: 32.78 kB / 0.6035 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.692, allocations: 1.019 MB / 0.6045 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.6924, allocations: 135.4 kB / 0.6047 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006985/0.6931, allocations: 182.8 kB / 0.6048 GB, free: 9.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.6957, allocations: 1.123 MB / 0.6059 GB, free: 9.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.6957, allocations: 1.094 kB / 0.6059 GB, free: 9.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6957, allocations: 0 / 0.6059 GB, free: 9.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.6958, allocations: 0.7812 kB / 0.6059 GB, free: 9.895 MB / 446.1 MB 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.002742/0.6985, allocations: 1.117 MB / 0.607 GB, free: 25.17 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6986, allocations: 9.188 kB / 0.607 GB, free: 25.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.6987, allocations: 87.06 kB / 0.6071 GB, free: 25.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.6998, allocations: 0.6217 MB / 0.6077 GB, free: 24.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.6999, allocations: 36.22 kB / 0.6078 GB, free: 24.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/0.7, allocations: 53.94 kB / 0.6078 GB, free: 24.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008723/0.7008, allocations: 437.8 kB / 0.6082 GB, free: 24.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.7009, allocations: 6.047 kB / 0.6082 GB, free: 24.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.7009, allocations: 18.94 kB / 0.6082 GB, free: 24.53 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.7009, allocations: 10.38 kB / 0.6083 GB, free: 24.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.7017, allocations: 373 kB / 0.6086 GB, free: 24.41 MB / 462.1 MB 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.003649/0.7053, allocations: 2.797 MB / 0.6113 GB, free: 22.33 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/0.7061, allocations: 378.5 kB / 0.6117 GB, free: 22.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.7065, allocations: 162.1 kB / 0.6119 GB, free: 22.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.7075, allocations: 1.435 MB / 0.6133 GB, free: 20.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.7076, allocations: 41.86 kB / 0.6133 GB, free: 20.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.7076, allocations: 0 / 0.6133 GB, free: 20.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001135/0.7087, allocations: 0.5022 MB / 0.6138 GB, free: 20.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.7088, allocations: 56.41 kB / 0.6138 GB, free: 20.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.7099, allocations: 0.7312 MB / 0.6146 GB, free: 19.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.7099, allocations: 34.7 kB / 0.6146 GB, free: 19.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.7102, allocations: 336 kB / 0.6149 GB, free: 19.58 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.7103, allocations: 127.4 kB / 0.615 GB, free: 19.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.7103, allocations: 9.469 kB / 0.615 GB, free: 19.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7104, allocations: 324.2 kB / 0.6154 GB, free: 19.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.7107, allocations: 129.6 kB / 0.6155 GB, free: 19.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.7111, allocations: 201.2 kB / 0.6157 GB, free: 19.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.7114, allocations: 163.3 kB / 0.6158 GB, free: 18.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7114, allocations: 4 kB / 0.6158 GB, free: 18.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008799/0.7123, allocations: 464.8 kB / 0.6163 GB, free: 18.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.157e-05/0.7124, allocations: 133.7 kB / 0.6164 GB, free: 18.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.7124, allocations: 7.359 kB / 0.6164 GB, free: 18.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7124, allocations: 3.031 kB / 0.6164 GB, free: 18.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.7129, allocations: 110.6 kB / 0.6165 GB, free: 18.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/0.7133, allocations: 0.5934 MB / 0.6171 GB, free: 18.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.7139, allocations: 72.58 kB / 0.6172 GB, free: 17.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.714, allocations: 21.69 kB / 0.6172 GB, free: 17.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.714, allocations: 4.375 kB / 0.6172 GB, free: 17.97 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007621/0.7148, allocations: 386.3 kB / 0.6176 GB, free: 17.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.7148, allocations: 5.219 kB / 0.6176 GB, free: 17.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.7148, allocations: 3.781 kB / 0.6176 GB, free: 17.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.7151, allocations: 89.09 kB / 0.6177 GB, free: 17.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7151, allocations: 2.406 kB / 0.6177 GB, free: 17.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.7156, allocations: 71.2 kB / 0.6177 GB, free: 17.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.7156, allocations: 25.3 kB / 0.6177 GB, free: 17.79 MB / 462.1 MB 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.0003345/0.716, allocations: 264.2 kB / 0.618 GB, free: 17.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.7161, allocations: 86.67 kB / 0.6181 GB, free: 17.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.7176, allocations: 0.827 MB / 0.6189 GB, free: 17.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.7177, allocations: 7.516 kB / 0.6189 GB, free: 17.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.7177, allocations: 0 / 0.6189 GB, free: 17.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.7177, allocations: 3.922 kB / 0.6189 GB, free: 17.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.7199, allocations: 1.47 MB / 0.6203 GB, free: 16.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.7199, allocations: 11.77 kB / 0.6203 GB, free: 16.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.7203, allocations: 79.17 kB / 0.6204 GB, free: 16.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-06/0.7203, allocations: 3.156 kB / 0.6204 GB, free: 16.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.7203, allocations: 18.2 kB / 0.6204 GB, free: 16.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002936/0.7206, allocations: 0.5922 MB / 0.621 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7206, allocations: 0 / 0.621 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.7221, allocations: 1.004 MB / 0.622 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.7224, allocations: 250 kB / 0.6222 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.7225, allocations: 7.281 kB / 0.6222 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.7229, allocations: 36.92 kB / 0.6223 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.723, allocations: 41.81 kB / 0.6223 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.7231, allocations: 29.72 kB / 0.6223 GB, free: 14.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007941/0.7239, allocations: 0.5209 MB / 0.6229 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7239, allocations: 0 / 0.6229 GB, free: 14.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001673/0.7256, allocations: 454.6 kB / 0.6233 GB, free: 14.43 MB / 462.1 MB 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.001209/0.7268, allocations: 466.4 kB / 0.6237 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.7285, allocations: 0.74 MB / 0.6245 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7285, allocations: 0 / 0.6245 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000641/0.7292, allocations: 355 kB / 0.6248 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.731, allocations: 386.3 kB / 0.6252 GB, free: 13.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.734, allocations: 1.812 MB / 0.6269 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.7346, allocations: 0.9401 MB / 0.6279 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.7348, allocations: 82.42 kB / 0.6279 GB, free: 11.35 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.7349, allocations: 0 / 0.6279 GB, free: 11.35 MB / 462.1 MB [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 .