Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.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.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008363/0.0008365, allocations: 95.06 kB / 16.33 MB, free: 6.41 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.00087/0.0008704, allocations: 187.6 kB / 17.23 MB, free: 6.305 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.47/1.47, allocations: 223.3 MB / 241.2 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.799/0.799, allocations: 114.3 MB / 406.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 8 kB / 494.5 MB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4765, allocations: 77.25 MB / 0.5583 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.8526/1.329, allocations: 283.8 MB / 0.8355 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03893/1.368, allocations: 24.93 MB / 0.8598 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007419/1.376, allocations: 108.5 kB / 0.8599 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006173/1.382, allocations: 1.107 MB / 0.861 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01753/1.399, allocations: 4.178 MB / 0.8651 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01053/1.41, allocations: 2.508 MB / 0.8675 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02057/1.431, allocations: 10.22 MB / 0.8775 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006477/1.437, allocations: 2.139 MB / 0.8796 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009925/1.447, allocations: 2.982 MB / 0.8825 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006241/1.453, allocations: 2.322 MB / 0.8848 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001607/1.455, allocations: 128 kB / 0.8849 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/1.467, allocations: 2.845 MB / 0.8877 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002506/1.469, allocations: 0.8721 MB / 0.8885 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002842/1.472, allocations: 0.7027 MB / 0.8892 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/1.483, allocations: 4.75 MB / 0.8939 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.483, allocations: 0 / 0.8939 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.795e-06/1.483, allocations: 0 / 0.8939 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002323/1.483, allocations: 0 / 0.8939 GB, free: 3.219 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.01066/1.494, allocations: 3.308 MB / 0.8971 GB, free: 140 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.494, allocations: 11.97 kB / 0.8971 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005939/1.5, allocations: 0.8116 MB / 0.8979 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006685/1.507, allocations: 2.427 MB / 0.9003 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/1.507, allocations: 172.2 kB / 0.9004 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009299/1.508, allocations: 215.9 kB / 0.9006 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00822/1.516, allocations: 2.538 MB / 0.9031 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.516, allocations: 4 kB / 0.9031 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005157/1.517, allocations: 84 kB / 0.9032 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/1.517, allocations: 96.05 kB / 0.9033 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005151/1.522, allocations: 2.019 MB / 0.9053 GB, free: 8.301 MB / 0.6075 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.02198/1.544, allocations: 12.38 MB / 0.9174 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/1.547, allocations: 1.494 MB / 0.9188 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/1.549, allocations: 0.7663 MB / 0.9196 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002372/1.551, allocations: 1.993 MB / 0.9215 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.334e-05/1.551, allocations: 55.8 kB / 0.9216 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=150): time 5.35e-06/1.551, allocations: 3.984 kB / 0.9216 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of matching and sorting (n=152): time 0.01335/1.565, allocations: 5.012 MB / 0.9265 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.565, allocations: 68.72 kB / 0.9265 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/1.569, allocations: 2.07 MB / 0.9285 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/1.57, allocations: 57.7 kB / 0.9286 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.571, allocations: 1.254 MB / 0.9298 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007215/1.572, allocations: 0.5336 MB / 0.9303 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.572, allocations: 32 kB / 0.9304 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002106/1.572, allocations: 377.9 kB / 0.9307 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/1.573, allocations: 0.5934 MB / 0.9313 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/1.575, allocations: 0.9741 MB / 0.9323 GB, free: 10.98 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01584/1.591, allocations: 3.966 MB / 0.9361 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/1.591, allocations: 4 kB / 0.9361 GB, free: 7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005202/1.596, allocations: 2.113 MB / 0.9382 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003872/1.596, allocations: 386.5 kB / 0.9386 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.709e-05/1.596, allocations: 16 kB / 0.9386 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/1.597, allocations: 219.8 kB / 0.9388 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/1.599, allocations: 351.5 kB / 0.9391 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/1.6, allocations: 1.777 MB / 0.9409 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/1.603, allocations: 207.5 kB / 0.9411 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/1.604, allocations: 83.97 kB / 0.9412 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/1.604, allocations: 4 kB / 0.9412 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004514/1.608, allocations: 1.864 MB / 0.943 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-05/1.608, allocations: 16.59 kB / 0.943 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.609, allocations: 216.3 kB / 0.9432 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.611, allocations: 343.5 kB / 0.9435 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/1.612, allocations: 1.194 MB / 0.9447 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/1.614, allocations: 199.7 kB / 0.9449 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/1.615, allocations: 75.98 kB / 0.945 GB, free: 13.7 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00196/1.617, allocations: 0.7114 MB / 0.9457 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009003/1.618, allocations: 260.8 kB / 0.9459 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00576/1.623, allocations: 2.368 MB / 0.9482 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/1.623, allocations: 23.98 kB / 0.9482 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/1.623, allocations: 0 / 0.9482 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003902/1.627, allocations: 2.094 MB / 0.9503 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/1.641, allocations: 5.368 MB / 0.9555 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/1.641, allocations: 16 kB / 0.9555 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.642, allocations: 291.6 kB / 0.9558 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009915/1.643, allocations: 246 kB / 0.956 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/1.643, allocations: 55.97 kB / 0.9561 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/1.647, allocations: 4.657 MB / 0.9607 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.647, allocations: 11.94 kB / 0.9607 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006525/1.654, allocations: 3.258 MB / 0.9638 GB, free: 9.684 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/1.656, allocations: 0.5755 MB / 0.9644 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000816/1.657, allocations: 40 kB / 0.9644 GB, free: 9.047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.659, allocations: 187.5 kB / 0.9646 GB, free: 8.863 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/1.66, allocations: 149 kB / 0.9648 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/1.66, allocations: 75.95 kB / 0.9648 GB, free: 8.645 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003483/1.663, allocations: 1.454 MB / 0.9663 GB, free: 7.184 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.6e-07/1.663, allocations: 0 / 0.9663 GB, free: 7.184 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007291/1.671, allocations: 1.344 MB / 0.9676 GB, free: 5.84 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 13 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,duc.del.x,duc.timDel.x,duc.vol_b.dynBal.medium.Xi[1],duc.vol_b.dynBal.U,duc.vol_b.dynBal.mC[1],duc.vol_a.dynBal.medium.Xi[1],duc.vol_a.dynBal.U,duc.vol_a.dynBal.m,duc.vol_a.dynBal.mC[1]) * 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 (156): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001982/1.673, allocations: 0.6881 MB / 0.9682 GB, free: 5.203 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005829/1.679, allocations: 2.881 MB / 0.9711 GB, free: 2.254 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/1.679, allocations: 8 kB / 0.9711 GB, free: 2.246 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/1.681, allocations: 1.445 MB / 0.9725 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009562/1.691, allocations: 1.511 MB / 0.9739 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.706, allocations: 6.991 MB / 0.9808 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/1.708, allocations: 1.9 MB / 0.9826 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.709, allocations: 231.4 kB / 0.9829 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of SimCode: time 1.774e-06/1.709, allocations: 0 / 0.9829 GB, free: 6.016 MB / 0.6856 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 4 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 6 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 7 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 8 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 9 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 11 .