Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009727/0.0009728, 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.001141/0.001141, allocations: 175.3 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.48/1.48, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.167/1.167, allocations: 143.4 MB / 435.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003834, allocations: 8 kB / 0.5166 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 83.42 MB / 0.5981 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 1.309/1.542, allocations: 284 MB / 0.8754 GB, free: 14.87 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03362/1.575, allocations: 24.97 MB / 0.8998 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005934/1.581, allocations: 109.4 kB / 0.8999 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004889/1.586, allocations: 1.098 MB / 0.901 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01501/1.601, allocations: 4.181 MB / 0.9051 GB, free: 14.36 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01035/1.612, allocations: 2.515 MB / 0.9075 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0175/1.629, allocations: 9.776 MB / 0.9171 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004907/1.634, allocations: 2.144 MB / 0.9192 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009069/1.643, allocations: 2.988 MB / 0.9221 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006079/1.649, allocations: 2.321 MB / 0.9243 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00101/1.65, allocations: 130.8 kB / 0.9245 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01137/1.662, allocations: 2.842 MB / 0.9272 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002297/1.664, allocations: 0.8736 MB / 0.9281 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/1.667, allocations: 0.6969 MB / 0.9288 GB, free: 13.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008926/1.676, allocations: 5.042 MB / 0.9337 GB, free: 12.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/1.676, allocations: 0 / 0.9337 GB, free: 12.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.387e-06/1.676, allocations: 0 / 0.9337 GB, free: 12.79 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001148/1.676, allocations: 1.75 kB / 0.9337 GB, free: 12.79 MB / 0.67 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.007206/1.683, allocations: 3.307 MB / 0.9369 GB, free: 10.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.683, allocations: 9.906 kB / 0.9369 GB, free: 10.73 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004926/1.688, allocations: 0.8107 MB / 0.9377 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004739/1.693, allocations: 2.431 MB / 0.9401 GB, free: 9.387 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.693, allocations: 165.4 kB / 0.9403 GB, free: 9.379 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/1.693, allocations: 221.3 kB / 0.9405 GB, free: 9.375 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/1.697, allocations: 2.535 MB / 0.9429 GB, free: 8.625 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/1.698, allocations: 9.375 kB / 0.943 GB, free: 8.621 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/1.698, allocations: 90 kB / 0.943 GB, free: 8.621 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-05/1.698, allocations: 91.03 kB / 0.9431 GB, free: 8.605 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/1.701, allocations: 2.017 MB / 0.9451 GB, free: 8.289 MB / 0.67 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.01384/1.715, allocations: 12.4 MB / 0.9572 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/1.717, allocations: 1.491 MB / 0.9587 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/1.718, allocations: 0.7656 MB / 0.9594 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001832/1.72, allocations: 1.983 MB / 0.9613 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/1.72, allocations: 64.81 kB / 0.9614 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=150): time 3.457e-06/1.72, allocations: 0 / 0.9614 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=152): time 0.01128/1.731, allocations: 5.018 MB / 0.9663 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/1.731, allocations: 71.81 kB / 0.9664 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/1.734, allocations: 2.076 MB / 0.9684 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/1.734, allocations: 51.86 kB / 0.9685 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009115/1.735, allocations: 1.252 MB / 0.9697 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005613/1.736, allocations: 0.5323 MB / 0.9702 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/1.736, allocations: 31.53 kB / 0.9702 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.736, allocations: 372 kB / 0.9706 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/1.737, allocations: 0.593 MB / 0.9712 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/1.739, allocations: 0.9767 MB / 0.9721 GB, free: 9.059 MB / 0.6856 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.01572/1.754, allocations: 3.966 MB / 0.976 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/1.754, allocations: 8 kB / 0.976 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005017/1.759, allocations: 2.112 MB / 0.9781 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003834/1.76, allocations: 388.6 kB / 0.9784 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/1.76, allocations: 16.5 kB / 0.9784 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009939/1.761, allocations: 219 kB / 0.9787 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.762, allocations: 360.3 kB / 0.979 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/1.764, allocations: 1.779 MB / 0.9807 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/1.767, allocations: 209.8 kB / 0.9809 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/1.767, allocations: 76.97 kB / 0.981 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.767, allocations: 4.625 kB / 0.981 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00369/1.771, allocations: 1.857 MB / 0.9828 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.965e-05/1.771, allocations: 12 kB / 0.9828 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009086/1.772, allocations: 221.8 kB / 0.983 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.773, allocations: 344.5 kB / 0.9834 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009534/1.774, allocations: 1.193 MB / 0.9845 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/1.777, allocations: 205.9 kB / 0.9847 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/1.777, allocations: 80.81 kB / 0.9848 GB, free: 15.75 MB / 0.7012 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.00223/1.779, allocations: 0.7108 MB / 0.9855 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00098/1.78, allocations: 256.9 kB / 0.9858 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/1.785, allocations: 2.375 MB / 0.9881 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/1.785, allocations: 26.23 kB / 0.9881 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.785, allocations: 0 / 0.9881 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003335/1.789, allocations: 2.095 MB / 0.9901 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/1.799, allocations: 5.383 MB / 0.9954 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/1.799, allocations: 8 kB / 0.9954 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.801, allocations: 294.5 kB / 0.9957 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009313/1.802, allocations: 250.1 kB / 0.9959 GB, free: 7.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/1.802, allocations: 52.44 kB / 0.996 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/1.805, allocations: 4.647 MB / 1.001 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.805, allocations: 8 kB / 1.001 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/1.811, allocations: 3.256 MB / 1.004 GB, free: 480 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/1.813, allocations: 0.5791 MB / 1.004 GB, free: 16 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/1.814, allocations: 43.16 kB / 1.004 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.815, allocations: 181.8 kB / 1.004 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/1.816, allocations: 160.9 kB / 1.005 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/1.816, allocations: 73.72 kB / 1.005 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00278/1.819, allocations: 1.457 MB / 1.006 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/1.819, allocations: 0 / 1.006 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005422/1.824, allocations: 1.34 MB / 1.007 GB, free: 13.37 MB / 0.7169 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.00186/1.826, allocations: 0.7116 MB / 1.008 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005028/1.831, allocations: 2.882 MB / 1.011 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.831, allocations: 0 / 1.011 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/1.833, allocations: 1.455 MB / 1.012 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009195/1.843, allocations: 1.508 MB / 1.014 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.858, allocations: 6.983 MB / 1.021 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.859, allocations: 1.904 MB / 1.023 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.86, allocations: 221.1 kB / 1.023 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/1.86, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.7325 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 .