Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007659/0.0007659, allocations: 102.2 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.0008278/0.0008277, allocations: 175.4 kB / 16.58 MB, free: 6.121 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.286/1.286, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9025/0.9025, allocations: 135.3 MB / 427 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 8.719 kB / 0.5076 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1747, allocations: 82.31 MB / 0.588 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.396/0.5708, allocations: 70.89 MB / 0.6572 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02371/0.5946, allocations: 18.71 MB / 0.6755 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.5982, allocations: 69.69 kB / 0.6756 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003537/0.6018, allocations: 0.6971 MB / 0.6762 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008935/0.6108, allocations: 2.272 MB / 0.6785 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006242/0.617, allocations: 1.535 MB / 0.68 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01275/0.6298, allocations: 5.772 MB / 0.6856 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004336/0.6342, allocations: 1.232 MB / 0.6868 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005902/0.6401, allocations: 1.685 MB / 0.6884 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/0.6441, allocations: 1.344 MB / 0.6898 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007644/0.6449, allocations: 73.28 kB / 0.6898 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005904/0.6508, allocations: 1.38 MB / 0.6912 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.652, allocations: 339.3 kB / 0.6915 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.6538, allocations: 427.9 kB / 0.6919 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006335/0.6602, allocations: 2.469 MB / 0.6943 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6602, allocations: 1.188 kB / 0.6943 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6602, allocations: 3.938 kB / 0.6943 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001394/0.6603, allocations: 0 / 0.6943 GB, free: 4.512 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007248/0.6676, allocations: 2.151 MB / 0.6964 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.6677, allocations: 8.656 kB / 0.6964 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.67, allocations: 431.6 kB / 0.6968 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004228/0.6743, allocations: 1.73 MB / 0.6985 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.6744, allocations: 96.11 kB / 0.6986 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.6746, allocations: 123.4 kB / 0.6987 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.6776, allocations: 1.434 MB / 0.7001 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.6776, allocations: 2.312 kB / 0.7001 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.6778, allocations: 53.31 kB / 0.7002 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/0.6778, allocations: 39.67 kB / 0.7002 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.6802, allocations: 1.087 MB / 0.7013 GB, free: 0.8203 MB / 0.5137 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.009822/0.6901, allocations: 7.849 MB / 0.709 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.6933, allocations: 1.086 MB / 0.71 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008375/0.6942, allocations: 439.2 kB / 0.7104 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.6959, allocations: 1.875 MB / 0.7123 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.697, allocations: 0.5034 MB / 0.7128 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=84): time 3.957e-06/0.697, allocations: 0 / 0.7128 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84): time 0.003121/0.7001, allocations: 1.295 MB / 0.714 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.7002, allocations: 87.23 kB / 0.7141 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.7025, allocations: 1.375 MB / 0.7154 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/0.7026, allocations: 43.14 kB / 0.7155 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007311/0.7033, allocations: 0.8149 MB / 0.7163 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.7036, allocations: 298.8 kB / 0.7166 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.7037, allocations: 20.06 kB / 0.7166 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7038, allocations: 343.2 kB / 0.7169 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007399/0.7046, allocations: 369.4 kB / 0.7173 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.7056, allocations: 0.6774 MB / 0.7179 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009034/0.7065, allocations: 460.7 kB / 0.7184 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.7065, allocations: 3 kB / 0.7184 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002519/0.7091, allocations: 1.254 MB / 0.7196 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002711/0.7093, allocations: 364.8 kB / 0.7199 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.7094, allocations: 16.08 kB / 0.72 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.7094, allocations: 19 kB / 0.72 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/0.7103, allocations: 251.9 kB / 0.7202 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.7103, allocations: 24.23 kB / 0.7202 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.7118, allocations: 193.5 kB / 0.7204 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.7119, allocations: 56.28 kB / 0.7205 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.7119, allocations: 5.156 kB / 0.7205 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001924/0.7138, allocations: 1.08 MB / 0.7215 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.7139, allocations: 18.55 kB / 0.7216 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7139, allocations: 16.72 kB / 0.7216 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.7147, allocations: 254.6 kB / 0.7218 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.7147, allocations: 22.64 kB / 0.7218 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.716, allocations: 175.8 kB / 0.722 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/0.7161, allocations: 57.62 kB / 0.7221 GB, free: 0.6719 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009859/0.7171, allocations: 446.9 kB / 0.7225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.7173, allocations: 169.5 kB / 0.7226 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.7201, allocations: 1.476 MB / 0.7241 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.502e-05/0.7202, allocations: 16.61 kB / 0.7241 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7202, allocations: 3.938 kB / 0.7241 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001839/0.722, allocations: 1.118 MB / 0.7252 GB, free: 14.6 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.004824/0.7268, allocations: 2.946 MB / 0.7281 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.7269, allocations: 3.953 kB / 0.7281 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/0.7277, allocations: 191.8 kB / 0.7283 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.7277, allocations: 4 kB / 0.7283 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.7277, allocations: 27.98 kB / 0.7283 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.7278, allocations: 8.062 kB / 0.7283 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7278, allocations: 0 / 0.7283 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.731, allocations: 1.919 MB / 0.7302 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008949/0.7319, allocations: 406.5 kB / 0.7306 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.7321, allocations: 24 kB / 0.7306 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.7331, allocations: 135.8 kB / 0.7307 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.7332, allocations: 68.91 kB / 0.7308 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.049e-05/0.7333, allocations: 43.97 kB / 0.7308 GB, free: 8.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001433/0.7348, allocations: 0.9123 MB / 0.7317 GB, free: 7.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7348, allocations: 4 kB / 0.7317 GB, free: 7.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002974/0.7377, allocations: 0.9744 MB / 0.7327 GB, free: 6.832 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002019/0.7398, allocations: 0.9511 MB / 0.7336 GB, free: 6.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003102/0.7429, allocations: 1.703 MB / 0.7353 GB, free: 4.352 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7429, allocations: 0 / 0.7353 GB, free: 4.352 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009815/0.7439, allocations: 0.619 MB / 0.7359 GB, free: 3.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.7469, allocations: 0.7639 MB / 0.7366 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/0.7535, allocations: 4.008 MB / 0.7405 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008486/0.7544, allocations: 1.326 MB / 0.7418 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.7549, allocations: 175.4 kB / 0.742 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.7549, allocations: 0 / 0.742 GB, free: 13.39 MB / 0.5606 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 2 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 4 .