Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001033/0.001033, allocations: 103 kB / 15.71 MB, free: 460 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.001327/0.001327, allocations: 174.7 kB / 16.58 MB, free: 6.863 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.407/1.407, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7687/0.7687, allocations: 132.3 MB / 424 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003563, allocations: 12.75 kB / 0.504 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.483, allocations: 81.58 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.7632/1.246, allocations: 283.8 MB / 0.8608 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03249/1.279, allocations: 24.89 MB / 0.8852 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0061/1.285, allocations: 107.2 kB / 0.8853 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004487/1.289, allocations: 1.098 MB / 0.8863 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01419/1.304, allocations: 4.179 MB / 0.8904 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008952/1.313, allocations: 2.5 MB / 0.8928 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01523/1.328, allocations: 9.767 MB / 0.9024 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004535/1.333, allocations: 2.157 MB / 0.9045 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009503/1.342, allocations: 2.99 MB / 0.9074 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006101/1.348, allocations: 2.32 MB / 0.9097 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001106/1.349, allocations: 130.9 kB / 0.9098 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/1.36, allocations: 2.842 MB / 0.9126 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002268/1.363, allocations: 0.8652 MB / 0.9134 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002221/1.365, allocations: 0.7004 MB / 0.9141 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0085/1.373, allocations: 4.751 MB / 0.9187 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.373, allocations: 0 / 0.9187 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.234e-06/1.373, allocations: 3.938 kB / 0.9188 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001295/1.374, allocations: 3.375 kB / 0.9188 GB, free: 8.398 MB / 0.6387 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.006862/1.38, allocations: 3.302 MB / 0.922 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.38, allocations: 8.844 kB / 0.922 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/1.385, allocations: 0.8126 MB / 0.9228 GB, free: 6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/1.39, allocations: 2.422 MB / 0.9251 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/1.39, allocations: 164.2 kB / 0.9253 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/1.391, allocations: 223.1 kB / 0.9255 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/1.395, allocations: 2.533 MB / 0.928 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/1.395, allocations: 9.188 kB / 0.928 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/1.395, allocations: 89.22 kB / 0.9281 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.241e-05/1.395, allocations: 91.83 kB / 0.9282 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/1.398, allocations: 2.018 MB / 0.9301 GB, free: 3.895 MB / 0.6387 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.01397/1.412, allocations: 12.35 MB / 0.9422 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/1.414, allocations: 1.478 MB / 0.9436 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/1.415, allocations: 0.7684 MB / 0.9444 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/1.417, allocations: 1.99 MB / 0.9463 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/1.417, allocations: 60.52 kB / 0.9464 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=150): time 3.937e-06/1.417, allocations: 0 / 0.9464 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of matching and sorting (n=152): time 0.01138/1.429, allocations: 5.008 MB / 0.9513 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.429, allocations: 72.72 kB / 0.9514 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/1.432, allocations: 2.076 MB / 0.9534 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/1.432, allocations: 58.95 kB / 0.9534 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009454/1.433, allocations: 1.248 MB / 0.9547 GB, free: 96 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005595/1.434, allocations: 0.5305 MB / 0.9552 GB, free: 15.63 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/1.434, allocations: 34.31 kB / 0.9552 GB, free: 15.62 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.434, allocations: 371.9 kB / 0.9556 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009788/1.435, allocations: 0.5862 MB / 0.9561 GB, free: 14.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/1.436, allocations: 0.9867 MB / 0.9571 GB, free: 14.04 MB / 0.67 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.015/1.451, allocations: 3.949 MB / 0.961 GB, free: 10.76 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/1.451, allocations: 0 / 0.961 GB, free: 10.76 MB / 0.67 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00452/1.456, allocations: 2.108 MB / 0.963 GB, free: 9.273 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004201/1.456, allocations: 396.1 kB / 0.9634 GB, free: 8.789 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.706e-05/1.456, allocations: 15.98 kB / 0.9634 GB, free: 8.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009704/1.457, allocations: 207.1 kB / 0.9636 GB, free: 8.594 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.459, allocations: 358.1 kB / 0.9639 GB, free: 8.277 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/1.46, allocations: 1.776 MB / 0.9657 GB, free: 6.512 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/1.463, allocations: 198.9 kB / 0.9659 GB, free: 6.344 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/1.463, allocations: 81.14 kB / 0.9659 GB, free: 6.277 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.463, allocations: 4 kB / 0.9659 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003462/1.467, allocations: 1.853 MB / 0.9678 GB, free: 5.074 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.135e-05/1.467, allocations: 19.98 kB / 0.9678 GB, free: 5.055 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008312/1.468, allocations: 204.2 kB / 0.968 GB, free: 4.879 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.469, allocations: 347.4 kB / 0.9683 GB, free: 4.574 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009024/1.47, allocations: 1.185 MB / 0.9695 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/1.473, allocations: 192.7 kB / 0.9696 GB, free: 3.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.473, allocations: 78.47 kB / 0.9697 GB, free: 3.188 MB / 0.67 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.001714/1.474, allocations: 0.7091 MB / 0.9704 GB, free: 2.746 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007607/1.475, allocations: 260.9 kB / 0.9707 GB, free: 2.488 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/1.48, allocations: 2.361 MB / 0.973 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/1.48, allocations: 23.94 kB / 0.973 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.48, allocations: 4 kB / 0.973 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00312/1.483, allocations: 2.086 MB / 0.975 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009365/1.492, allocations: 5.365 MB / 0.9803 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/1.492, allocations: 12 kB / 0.9803 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.494, allocations: 288.8 kB / 0.9806 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008627/1.494, allocations: 258.3 kB / 0.9808 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.495, allocations: 57.47 kB / 0.9809 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/1.498, allocations: 4.642 MB / 0.9854 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.498, allocations: 11.38 kB / 0.9854 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005459/1.503, allocations: 3.294 MB / 0.9886 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.505, allocations: 0.5746 MB / 0.9892 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/1.505, allocations: 40.38 kB / 0.9892 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.507, allocations: 186.3 kB / 0.9894 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/1.507, allocations: 150.8 kB / 0.9895 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.507, allocations: 80.95 kB / 0.9896 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002296/1.51, allocations: 1.451 MB / 0.991 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/1.51, allocations: 0 / 0.991 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003966/1.514, allocations: 1.348 MB / 0.9924 GB, free: 0.793 MB / 0.6856 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.U,duc.vol_b.dynBal.mXi[1],duc.vol_b.dynBal.mC[1],duc.vol_a.dynBal.U,duc.vol_a.dynBal.m,duc.vol_a.dynBal.mXi[1],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.00137/1.515, allocations: 0.6839 MB / 0.993 GB, free: 220 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005397/1.521, allocations: 2.875 MB / 0.9958 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.521, allocations: 4.062 kB / 0.9958 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002192/1.523, allocations: 1.454 MB / 0.9972 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007452/1.53, allocations: 1.508 MB / 0.9987 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/1.542, allocations: 6.959 MB / 1.006 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/1.544, allocations: 1.895 MB / 1.007 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009884/1.545, allocations: 230.9 kB / 1.008 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of SimCode: time 1.523e-06/1.545, allocations: 0 / 1.008 GB, free: 3.262 MB / 0.7012 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 .