Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 185.2 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 0.5783 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007525/0.0007524, allocations: 96.58 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003493, allocations: 13.91 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2219, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.04002/0.2619, allocations: 56.07 MB / 0.9556 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.2829, allocations: 17.06 MB / 0.9722 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.2855, allocations: 55.62 kB / 0.9723 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.2878, allocations: 0.5977 MB / 0.9729 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006256/0.2941, allocations: 2.027 MB / 0.9749 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.2984, allocations: 1.252 MB / 0.9761 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006343/0.3047, allocations: 4.885 MB / 0.9809 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.3065, allocations: 1.081 MB / 0.9819 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.3096, allocations: 1.493 MB / 0.9834 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.3117, allocations: 1.178 MB / 0.9845 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.3121, allocations: 72 kB / 0.9846 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/0.3157, allocations: 1.29 MB / 0.9858 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.3161, allocations: 294.6 kB / 0.9861 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006425/0.3167, allocations: 376.8 kB / 0.9865 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.3195, allocations: 2.248 MB / 0.9887 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3195, allocations: 0 / 0.9887 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3196, allocations: 0 / 0.9887 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.3196, allocations: 0 / 0.9887 GB, free: 6.039 MB / 0.6355 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.003746/0.3233, allocations: 1.958 MB / 0.9906 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3234, allocations: 8.031 kB / 0.9906 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.3252, allocations: 409.4 kB / 0.991 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/0.3284, allocations: 1.501 MB / 0.9925 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.3285, allocations: 82.08 kB / 0.9925 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.3287, allocations: 108 kB / 0.9926 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.331, allocations: 1.217 MB / 0.9938 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.331, allocations: 0 / 0.9938 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.3311, allocations: 44 kB / 0.9939 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.3312, allocations: 28 kB / 0.9939 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.3332, allocations: 0.9563 MB / 0.9948 GB, free: 15.54 MB / 0.6511 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.007609/0.3408, allocations: 6.605 MB / 1.001 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.3427, allocations: 0.8653 MB / 1.002 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008081/0.3435, allocations: 422.6 kB / 1.003 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.3452, allocations: 1.786 MB / 1.004 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.3462, allocations: 484.2 kB / 1.005 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=77): time 3.126e-06/0.3462, allocations: 0 / 1.005 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77): time 0.002832/0.349, allocations: 1.246 MB / 1.006 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.3491, allocations: 85.77 kB / 1.006 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.3509, allocations: 1.268 MB / 1.007 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.911e-05/0.351, allocations: 45.69 kB / 1.007 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005669/0.3516, allocations: 0.7084 MB / 1.008 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.3518, allocations: 264.2 kB / 1.008 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.3519, allocations: 20 kB / 1.008 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.352, allocations: 345.9 kB / 1.009 GB, free: 440 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007487/0.3528, allocations: 345.8 kB / 1.009 GB, free: 92 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009448/0.3537, allocations: 0.5838 MB / 1.01 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/0.3546, allocations: 422.4 kB / 1.01 GB, free: 15 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3546, allocations: 0 / 1.01 GB, free: 15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002258/0.3569, allocations: 1.138 MB / 1.011 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.3571, allocations: 269.7 kB / 1.011 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.3571, allocations: 11.98 kB / 1.011 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.3572, allocations: 12 kB / 1.011 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/0.3581, allocations: 227.6 kB / 1.012 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/0.3581, allocations: 19.86 kB / 1.012 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.3594, allocations: 178.8 kB / 1.012 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.3595, allocations: 39.98 kB / 1.012 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3595, allocations: 4 kB / 1.012 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001978/0.3615, allocations: 0.9738 MB / 1.013 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.3615, allocations: 8 kB / 1.013 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3615, allocations: 12 kB / 1.013 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/0.3624, allocations: 228.2 kB / 1.013 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.3624, allocations: 15.94 kB / 1.013 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.3635, allocations: 155.2 kB / 1.013 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/0.3636, allocations: 47.97 kB / 1.013 GB, free: 11.58 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (109): * Single equations (assignments): 107 * 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.0007038/0.3643, allocations: 404.8 kB / 1.014 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.3646, allocations: 158.1 kB / 1.014 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/0.3674, allocations: 1.432 MB / 1.015 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/0.3674, allocations: 19.98 kB / 1.015 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3675, allocations: 0 / 1.015 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001951/0.3694, allocations: 1.24 MB / 1.016 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.3739, allocations: 2.724 MB / 1.019 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.3739, allocations: 7.984 kB / 1.019 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/0.3747, allocations: 167.9 kB / 1.019 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.3748, allocations: 4 kB / 1.019 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/0.3748, allocations: 35.97 kB / 1.019 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.3749, allocations: 4 kB / 1.019 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3749, allocations: 0 / 1.019 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.3782, allocations: 1.863 MB / 1.021 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007595/0.3789, allocations: 390.8 kB / 1.021 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.3791, allocations: 20 kB / 1.021 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009602/0.3801, allocations: 111.8 kB / 1.022 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.3803, allocations: 64.91 kB / 1.022 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/0.3803, allocations: 39.97 kB / 1.022 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00133/0.3817, allocations: 0.8611 MB / 1.022 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.779e-06/0.3817, allocations: 0 / 1.022 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002197/0.3839, allocations: 0.8614 MB / 1.023 GB, free: 1.02 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,senEntOut.h_out,eneLosInt.y,senEntIn.h_out) * 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 (95): * Single equations (assignments): 78 * 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.002018/0.3859, allocations: 0.9095 MB / 1.024 GB, free: 244 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003257/0.3892, allocations: 1.582 MB / 1.026 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.3892, allocations: 4 kB / 1.026 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3903, allocations: 0.5993 MB / 1.026 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/0.3935, allocations: 0.6308 MB / 1.027 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007124/0.4007, allocations: 3.776 MB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.4015, allocations: 1.247 MB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.402, allocations: 151.3 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of SimCode: time 7.92e-07/0.4021, allocations: 0 / 1.032 GB, free: 8.141 MB / 0.6823 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 .