Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008338/0.0008337, allocations: 102.7 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.001087/0.001087, allocations: 170 kB / 16.58 MB, free: 6.07 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.418/1.418, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7845/0.7845, allocations: 132.3 MB / 424.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 12 kB / 0.504 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5952/0.5955, allocations: 81.58 MB / 0.5837 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07925/0.6748, allocations: 70.9 MB / 0.6529 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02764/0.7025, allocations: 18.72 MB / 0.6712 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/0.7062, allocations: 71.56 kB / 0.6713 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.7094, allocations: 0.6948 MB / 0.6719 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009044/0.7185, allocations: 2.272 MB / 0.6742 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007504/0.726, allocations: 1.54 MB / 0.6757 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009531/0.7356, allocations: 5.771 MB / 0.6813 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.7391, allocations: 1.24 MB / 0.6825 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.744, allocations: 1.684 MB / 0.6842 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.7473, allocations: 1.342 MB / 0.6855 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007131/0.748, allocations: 75.98 kB / 0.6855 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/0.7532, allocations: 1.388 MB / 0.6869 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009087/0.7541, allocations: 342.4 kB / 0.6872 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.7556, allocations: 424.6 kB / 0.6876 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.7603, allocations: 2.463 MB / 0.69 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.7603, allocations: 0 / 0.69 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.518e-06/0.7603, allocations: 4 kB / 0.69 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001156/0.7604, allocations: 0 / 0.69 GB, free: 3.379 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.005505/0.7659, allocations: 2.147 MB / 0.6921 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.766, allocations: 8.031 kB / 0.6921 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.768, allocations: 437.1 kB / 0.6926 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/0.7725, allocations: 1.727 MB / 0.6942 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.7726, allocations: 90.44 kB / 0.6943 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.7729, allocations: 128 kB / 0.6945 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.776, allocations: 1.426 MB / 0.6958 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/0.7761, allocations: 7.938 kB / 0.6959 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.7762, allocations: 52 kB / 0.6959 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/0.7763, allocations: 35.98 kB / 0.6959 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.7786, allocations: 1.086 MB / 0.697 GB, free: 12.02 MB / 0.5294 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.009486/0.7881, allocations: 7.868 MB / 0.7047 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.7912, allocations: 1.07 MB / 0.7057 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008063/0.7921, allocations: 443.8 kB / 0.7061 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/0.7938, allocations: 1.872 MB / 0.708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.7948, allocations: 0.5022 MB / 0.7085 GB, free: 15.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 3.367e-06/0.7948, allocations: 3.938 kB / 0.7085 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.002934/0.7978, allocations: 1.296 MB / 0.7097 GB, free: 13.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.7978, allocations: 89.77 kB / 0.7098 GB, free: 13.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.7998, allocations: 1.371 MB / 0.7112 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.898e-05/0.7999, allocations: 41.7 kB / 0.7112 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006915/0.8006, allocations: 0.8178 MB / 0.712 GB, free: 11.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.8009, allocations: 291.8 kB / 0.7123 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.8009, allocations: 20 kB / 0.7123 GB, free: 11.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8011, allocations: 357.9 kB / 0.7126 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007494/0.8018, allocations: 366.4 kB / 0.713 GB, free: 10.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009699/0.8028, allocations: 0.6754 MB / 0.7136 GB, free: 9.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/0.8037, allocations: 458.7 kB / 0.7141 GB, free: 9.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.8037, allocations: 4 kB / 0.7141 GB, free: 9.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002476/0.8062, allocations: 1.253 MB / 0.7153 GB, free: 8.031 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.8065, allocations: 361.3 kB / 0.7157 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.8065, allocations: 12 kB / 0.7157 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.8065, allocations: 12 kB / 0.7157 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.8074, allocations: 263.6 kB / 0.7159 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.8075, allocations: 15.94 kB / 0.7159 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.8087, allocations: 198.7 kB / 0.7161 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.8088, allocations: 55.94 kB / 0.7162 GB, free: 7.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.8089, allocations: 4 kB / 0.7162 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002012/0.8109, allocations: 1.082 MB / 0.7173 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.8109, allocations: 15.98 kB / 0.7173 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.8109, allocations: 16 kB / 0.7173 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/0.8118, allocations: 259.9 kB / 0.7175 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.8118, allocations: 15.94 kB / 0.7175 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.8131, allocations: 179 kB / 0.7177 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/0.8132, allocations: 55.98 kB / 0.7178 GB, free: 5.387 MB / 0.545 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.0007918/0.814, allocations: 436.8 kB / 0.7182 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.8142, allocations: 173.9 kB / 0.7184 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.8171, allocations: 1.474 MB / 0.7198 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.8171, allocations: 12 kB / 0.7198 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.8172, allocations: 0 / 0.7198 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001906/0.8191, allocations: 1.113 MB / 0.7209 GB, free: 2.16 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.005009/0.8241, allocations: 2.95 MB / 0.7238 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.8241, allocations: 4 kB / 0.7238 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007818/0.8249, allocations: 187.8 kB / 0.724 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.8249, allocations: 7.984 kB / 0.724 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.825, allocations: 27.98 kB / 0.724 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.825, allocations: 4 kB / 0.724 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.825, allocations: 0 / 0.724 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.8283, allocations: 1.927 MB / 0.7259 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007725/0.8291, allocations: 414.5 kB / 0.7263 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.8293, allocations: 16 kB / 0.7263 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009667/0.8303, allocations: 135.2 kB / 0.7264 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.8304, allocations: 76.89 kB / 0.7265 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.123e-05/0.8305, allocations: 39.97 kB / 0.7265 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001379/0.8319, allocations: 0.9201 MB / 0.7274 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8319, allocations: 0 / 0.7274 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002692/0.8346, allocations: 0.9744 MB / 0.7284 GB, free: 10.37 MB / 0.5606 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.001923/0.8365, allocations: 0.9516 MB / 0.7293 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003189/0.8397, allocations: 1.7 MB / 0.731 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.8397, allocations: 4.062 kB / 0.731 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009889/0.8407, allocations: 0.6182 MB / 0.7316 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.844, allocations: 0.7428 MB / 0.7323 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.851, allocations: 4.026 MB / 0.7362 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000807/0.8518, allocations: 1.323 MB / 0.7375 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/0.8524, allocations: 171.3 kB / 0.7377 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of SimCode: time 5.721e-06/0.8524, allocations: 0 / 0.7377 GB, free: 0.9727 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 .