Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009381/0.0009382, allocations: 99.59 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.001185/0.001185, allocations: 177.1 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.926/1.926, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 292.7 MB / 0.5505 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008473/0.0008474, allocations: 12.59 kB / 0.6744 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.296, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.05605/0.3521, allocations: 56.08 MB / 0.8427 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02406/0.3762, allocations: 17.07 MB / 0.8594 GB, free: 2.594 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.3788, allocations: 51.69 kB / 0.8594 GB, free: 2.543 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.3811, allocations: 0.6055 MB / 0.86 GB, free: 1.934 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.3875, allocations: 2.029 MB / 0.862 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.3918, allocations: 1.266 MB / 0.8632 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007288/0.3991, allocations: 4.865 MB / 0.868 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.4013, allocations: 1.077 MB / 0.869 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.4051, allocations: 1.485 MB / 0.8705 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.4074, allocations: 1.167 MB / 0.8716 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.4076, allocations: 67.98 kB / 0.8717 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003906/0.4115, allocations: 1.298 MB / 0.8729 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.4119, allocations: 286.6 kB / 0.8732 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007886/0.4127, allocations: 380.8 kB / 0.8736 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.4162, allocations: 2.248 MB / 0.8758 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.4162, allocations: 0 / 0.8758 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4162, allocations: 0 / 0.8758 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.294e-05/0.4162, allocations: 0 / 0.8758 GB, free: 1.703 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003929/0.4202, allocations: 1.931 MB / 0.8777 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4202, allocations: 8.031 kB / 0.8777 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.4219, allocations: 405.4 kB / 0.8781 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.425, allocations: 1.496 MB / 0.8795 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/0.4251, allocations: 85.86 kB / 0.8796 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.4252, allocations: 111.9 kB / 0.8797 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.4275, allocations: 1.232 MB / 0.8809 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.4276, allocations: 3.938 kB / 0.8809 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.4277, allocations: 44 kB / 0.881 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.4277, allocations: 24 kB / 0.881 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.4298, allocations: 0.9563 MB / 0.8819 GB, free: 11.21 MB / 0.7012 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.008408/0.4382, allocations: 6.999 MB / 0.8887 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.4399, allocations: 0.8196 MB / 0.8895 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008282/0.4408, allocations: 410 kB / 0.8899 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/0.4425, allocations: 1.789 MB / 0.8917 GB, free: 248 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009283/0.4434, allocations: 468.1 kB / 0.8921 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=73): time 3.637e-06/0.4434, allocations: 0 / 0.8921 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=73): time 0.002789/0.4462, allocations: 1.199 MB / 0.8933 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.4463, allocations: 81.77 kB / 0.8934 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.4488, allocations: 1.288 MB / 0.8946 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.4489, allocations: 41.7 kB / 0.8947 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007213/0.4496, allocations: 0.7161 MB / 0.8954 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.4499, allocations: 260.3 kB / 0.8956 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.45, allocations: 16 kB / 0.8956 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4502, allocations: 341.9 kB / 0.896 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007181/0.4509, allocations: 333.8 kB / 0.8963 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008712/0.4518, allocations: 0.5911 MB / 0.8969 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/0.4526, allocations: 411 kB / 0.8973 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.4526, allocations: 0 / 0.8973 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002231/0.4549, allocations: 1.109 MB / 0.8983 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.4551, allocations: 304.4 kB / 0.8986 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.4551, allocations: 12 kB / 0.8986 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.4552, allocations: 12 kB / 0.8986 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.456, allocations: 223.6 kB / 0.8989 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.456, allocations: 15.98 kB / 0.8989 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.4572, allocations: 170.2 kB / 0.899 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/0.4573, allocations: 47.98 kB / 0.8991 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.4573, allocations: 6.812 kB / 0.8991 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001866/0.4592, allocations: 0.9565 MB / 0.9 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.4593, allocations: 8 kB / 0.9 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4593, allocations: 16.06 kB / 0.9 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.46, allocations: 219.7 kB / 0.9003 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.4601, allocations: 15.94 kB / 0.9003 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.4611, allocations: 159 kB / 0.9004 GB, free: 7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.4612, allocations: 51.97 kB / 0.9005 GB, free: 6.949 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (107): * Single equations (assignments): 105 * 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.000777/0.462, allocations: 415.3 kB / 0.9009 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.4622, allocations: 154.2 kB / 0.901 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.465, allocations: 1.407 MB / 0.9024 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.465, allocations: 11.98 kB / 0.9024 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4651, allocations: 0 / 0.9024 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001896/0.467, allocations: 1.209 MB / 0.9036 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/0.4715, allocations: 2.678 MB / 0.9062 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/0.4716, allocations: 7.938 kB / 0.9062 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007073/0.4723, allocations: 171.9 kB / 0.9064 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.4723, allocations: 4 kB / 0.9064 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.4724, allocations: 27.98 kB / 0.9064 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.4724, allocations: 4 kB / 0.9064 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4724, allocations: 0 / 0.9064 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/0.4755, allocations: 1.821 MB / 0.9082 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007049/0.4762, allocations: 382.8 kB / 0.9085 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.4764, allocations: 20 kB / 0.9086 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/0.4773, allocations: 118.7 kB / 0.9087 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.4775, allocations: 68.91 kB / 0.9087 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.112e-05/0.4776, allocations: 39.92 kB / 0.9088 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001319/0.4789, allocations: 0.8732 MB / 0.9096 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4789, allocations: 0 / 0.9096 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002359/0.4813, allocations: 0.8459 MB / 0.9105 GB, free: 12.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.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 (91): * Single equations (assignments): 74 * 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.0019/0.4832, allocations: 0.885 MB / 0.9113 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00316/0.4863, allocations: 1.554 MB / 0.9128 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.4864, allocations: 7.938 kB / 0.9129 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.4874, allocations: 0.5876 MB / 0.9134 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/0.4906, allocations: 0.635 MB / 0.914 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006839/0.4975, allocations: 3.61 MB / 0.9176 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.4983, allocations: 1.239 MB / 0.9188 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.4988, allocations: 155.4 kB / 0.9189 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/0.4988, allocations: 0 / 0.9189 GB, free: 3.949 MB / 0.7325 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 .