Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007736/0.0007734, allocations: 99.36 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.001007/0.001007, allocations: 178 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.301/1.301, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.966/0.966, allocations: 135.3 MB / 427 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 12 kB / 0.5076 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.174, allocations: 82.31 MB / 0.588 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.6165/0.7905, allocations: 283.8 MB / 0.8651 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.429/1.22, allocations: 24.89 MB / 0.8895 GB, free: 18.55 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005569/1.225, allocations: 106.9 kB / 0.8896 GB, free: 18.55 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005152/1.23, allocations: 1.103 MB / 0.8906 GB, free: 18.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01386/1.244, allocations: 4.169 MB / 0.8947 GB, free: 18.36 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008848/1.253, allocations: 2.503 MB / 0.8971 GB, free: 18.3 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01445/1.268, allocations: 9.765 MB / 0.9067 GB, free: 18.29 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006068/1.274, allocations: 2.141 MB / 0.9088 GB, free: 18.01 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009878/1.284, allocations: 2.989 MB / 0.9117 GB, free: 17.99 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00699/1.291, allocations: 2.321 MB / 0.914 GB, free: 17.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001611/1.292, allocations: 131.5 kB / 0.9141 GB, free: 17.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01397/1.306, allocations: 2.843 MB / 0.9169 GB, free: 17.92 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002953/1.309, allocations: 0.8754 MB / 0.9177 GB, free: 17.92 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003022/1.312, allocations: 0.6999 MB / 0.9184 GB, free: 17.89 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/1.323, allocations: 4.746 MB / 0.923 GB, free: 17.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.323, allocations: 3.938 kB / 0.923 GB, free: 17.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.405e-06/1.323, allocations: 0 / 0.923 GB, free: 17.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002667/1.324, allocations: 0 / 0.923 GB, free: 17.52 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.01137/1.335, allocations: 3.299 MB / 0.9263 GB, free: 15.83 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.335, allocations: 13.06 kB / 0.9263 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007113/1.342, allocations: 0.8189 MB / 0.9271 GB, free: 15.64 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007542/1.35, allocations: 2.426 MB / 0.9294 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.35, allocations: 161.5 kB / 0.9296 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/1.35, allocations: 219.3 kB / 0.9298 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004664/1.355, allocations: 2.531 MB / 0.9323 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.378e-05/1.355, allocations: 13.19 kB / 0.9323 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/1.355, allocations: 93.53 kB / 0.9324 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.5e-05/1.355, allocations: 85.67 kB / 0.9325 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/1.359, allocations: 2.023 MB / 0.9344 GB, free: 14.37 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.01443/1.373, allocations: 12.35 MB / 0.9465 GB, free: 6.156 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/1.375, allocations: 1.481 MB / 0.9479 GB, free: 5.777 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/1.376, allocations: 0.7717 MB / 0.9487 GB, free: 5.676 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/1.378, allocations: 1.988 MB / 0.9506 GB, free: 3.453 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/1.378, allocations: 52.3 kB / 0.9507 GB, free: 3.406 MB / 0.67 GB Notification: Performance of pre-optimization done (n=150): time 4.619e-06/1.378, allocations: 0 / 0.9507 GB, free: 3.406 MB / 0.67 GB Notification: Performance of matching and sorting (n=152): time 0.01129/1.389, allocations: 5.013 MB / 0.9556 GB, free: 17.67 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.389, allocations: 66.44 kB / 0.9556 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/1.392, allocations: 2.077 MB / 0.9577 GB, free: 17.05 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002979/1.393, allocations: 56.48 kB / 0.9577 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008301/1.394, allocations: 1.255 MB / 0.959 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000587/1.394, allocations: 0.5308 MB / 0.9595 GB, free: 16.09 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.194e-05/1.394, allocations: 31.06 kB / 0.9595 GB, free: 16.09 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.394, allocations: 368.7 kB / 0.9599 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009225/1.395, allocations: 0.5909 MB / 0.9604 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.396, allocations: 0.9822 MB / 0.9614 GB, free: 15.18 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.01514/1.412, allocations: 3.952 MB / 0.9652 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.412, allocations: 3.375 kB / 0.9653 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004069/1.416, allocations: 2.094 MB / 0.9673 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002857/1.416, allocations: 393.6 kB / 0.9677 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/1.416, allocations: 20.64 kB / 0.9677 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008909/1.417, allocations: 210.5 kB / 0.9679 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.418, allocations: 362.2 kB / 0.9682 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/1.419, allocations: 1.775 MB / 0.97 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/1.422, allocations: 191.4 kB / 0.9702 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/1.422, allocations: 79.44 kB / 0.9702 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.423, allocations: 11 kB / 0.9702 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003565/1.426, allocations: 1.847 MB / 0.972 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/1.426, allocations: 19.39 kB / 0.9721 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000829/1.427, allocations: 209.8 kB / 0.9723 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/1.428, allocations: 340.1 kB / 0.9726 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008818/1.429, allocations: 1.193 MB / 0.9738 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/1.432, allocations: 194.2 kB / 0.9739 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/1.432, allocations: 87.56 kB / 0.974 GB, free: 9.789 MB / 0.6856 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.001634/1.434, allocations: 0.7017 MB / 0.9747 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006904/1.434, allocations: 260.9 kB / 0.975 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/1.439, allocations: 2.367 MB / 0.9773 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.359e-05/1.439, allocations: 19.69 kB / 0.9773 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.439, allocations: 3.953 kB / 0.9773 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003105/1.442, allocations: 2.082 MB / 0.9793 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009708/1.451, allocations: 5.377 MB / 0.9846 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/1.452, allocations: 22.92 kB / 0.9846 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.453, allocations: 288.7 kB / 0.9849 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000854/1.454, allocations: 234.5 kB / 0.9851 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.454, allocations: 57.28 kB / 0.9851 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/1.457, allocations: 4.647 MB / 0.9897 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.457, allocations: 10.62 kB / 0.9897 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00543/1.463, allocations: 3.292 MB / 0.9929 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/1.464, allocations: 0.5811 MB / 0.9935 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/1.465, allocations: 41.75 kB / 0.9935 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.467, allocations: 178.2 kB / 0.9937 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/1.467, allocations: 151 kB / 0.9938 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/1.467, allocations: 76.09 kB / 0.9939 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002357/1.469, allocations: 1.462 MB / 0.9953 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.71e-07/1.469, allocations: 0 / 0.9953 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004626/1.474, allocations: 1.342 MB / 0.9966 GB, free: 7.512 MB / 0.7012 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.0016/1.476, allocations: 0.6921 MB / 0.9973 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004769/1.481, allocations: 2.879 MB / 1 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.481, allocations: 0 / 1 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/1.483, allocations: 1.449 MB / 1.002 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007839/1.491, allocations: 1.507 MB / 1.003 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.503, allocations: 6.964 MB / 1.01 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/1.504, allocations: 1.901 MB / 1.012 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009691/1.505, allocations: 226.9 kB / 1.012 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of SimCode: time 8.62e-07/1.505, allocations: 0 / 1.012 GB, free: 10.03 MB / 0.7169 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 .