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.001708/0.001708, allocations: 112.1 kB / 16.38 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 191.6 kB / 17.31 MB, free: 5.188 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.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.12 MB / 190.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.888/1.888, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001559/0.001559, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2341, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.5724/0.8065, allocations: 60.78 MB / 0.8442 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02701/0.8336, allocations: 18.26 MB / 0.862 GB, free: 12.19 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003964/0.8376, allocations: 59.66 kB / 0.8621 GB, free: 12.17 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003313/0.841, allocations: 0.8731 MB / 0.8629 GB, free: 11.61 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01048/0.8515, allocations: 2.564 MB / 0.8654 GB, free: 10.09 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006707/0.8582, allocations: 1.768 MB / 0.8671 GB, free: 9.121 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008659/0.8669, allocations: 4.338 MB / 0.8714 GB, free: 7.023 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/0.8703, allocations: 1.465 MB / 0.8728 GB, free: 6.273 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00567/0.876, allocations: 1.873 MB / 0.8746 GB, free: 5.102 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.8793, allocations: 1.301 MB / 0.8759 GB, free: 4.293 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006353/0.8799, allocations: 169.2 kB / 0.8761 GB, free: 4.293 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006019/0.886, allocations: 1.798 MB / 0.8778 GB, free: 3.32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008937/0.8869, allocations: 411.8 kB / 0.8782 GB, free: 2.988 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002811/0.8897, allocations: 0.977 MB / 0.8792 GB, free: 2.324 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009066/0.8988, allocations: 3.167 MB / 0.8823 GB, free: 228 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8988, allocations: 0 / 0.8823 GB, free: 228 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8988, allocations: 0 / 0.8823 GB, free: 228 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001497/0.899, allocations: 1.219 kB / 0.8823 GB, free: 228 kB / 0.67 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.00858/0.9075, allocations: 2.256 MB / 0.8845 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.9076, allocations: 8.531 kB / 0.8845 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.91, allocations: 356.8 kB / 0.8848 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004752/0.9148, allocations: 1.601 MB / 0.8864 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.9149, allocations: 85.98 kB / 0.8865 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.9152, allocations: 105.9 kB / 0.8866 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/0.919, allocations: 1.228 MB / 0.8878 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-05/0.919, allocations: 10.11 kB / 0.8878 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.9192, allocations: 42.91 kB / 0.8878 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.57e-05/0.9193, allocations: 31.12 kB / 0.8878 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/0.9231, allocations: 0.9355 MB / 0.8888 GB, free: 11.71 MB / 0.6856 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.01397/0.9371, allocations: 6.987 MB / 0.8956 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.9401, allocations: 0.7978 MB / 0.8964 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.9415, allocations: 393.1 kB / 0.8967 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002348/0.9439, allocations: 1.772 MB / 0.8985 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001548/0.9454, allocations: 456.9 kB / 0.8989 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=73): time 3.827e-06/0.9455, allocations: 0 / 0.8989 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73): time 0.004613/0.9501, allocations: 1.168 MB / 0.9 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.9502, allocations: 88.83 kB / 0.9001 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003658/0.9539, allocations: 1.302 MB / 0.9014 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.954, allocations: 41.8 kB / 0.9014 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009864/0.955, allocations: 0.7189 MB / 0.9021 GB, free: 264 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.9554, allocations: 257.2 kB / 0.9024 GB, free: 36 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004923/0.9559, allocations: 182.5 kB / 0.9026 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.9561, allocations: 333.7 kB / 0.9029 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.9573, allocations: 338.8 kB / 0.9032 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.9589, allocations: 0.5789 MB / 0.9038 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.9617, allocations: 0.9274 MB / 0.9047 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.9617, allocations: 7 kB / 0.9047 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00371/0.9654, allocations: 1.093 MB / 0.9057 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.9655, allocations: 8 kB / 0.9057 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.9655, allocations: 8 kB / 0.9058 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/0.9656, allocations: 12 kB / 0.9058 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.9669, allocations: 212.3 kB / 0.906 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.684e-05/0.9669, allocations: 23.86 kB / 0.906 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.9689, allocations: 119 kB / 0.9061 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.969, allocations: 43.98 kB / 0.9061 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001761/0.9708, allocations: 0.58 MB / 0.9067 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00119/0.972, allocations: 0.5876 MB / 0.9073 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002168/0.9742, allocations: 0.9177 MB / 0.9082 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/0.9742, allocations: 3.938 kB / 0.9082 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002509/0.9767, allocations: 1.095 MB / 0.9093 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.9768, allocations: 8.781 kB / 0.9093 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.9768, allocations: 12.06 kB / 0.9093 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.9768, allocations: 12 kB / 0.9093 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.9776, allocations: 215.6 kB / 0.9095 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.9777, allocations: 15.94 kB / 0.9095 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.9793, allocations: 103.3 kB / 0.9096 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.9795, allocations: 47.98 kB / 0.9097 GB, free: 8.93 MB / 0.7012 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 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003502/0.9798, allocations: 235.9 kB / 0.9099 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/0.9803, allocations: 150.2 kB / 0.91 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.9833, allocations: 1.378 MB / 0.9114 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002032/0.9853, allocations: 1.19 MB / 0.9125 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.9854, allocations: 7.938 kB / 0.9125 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008112/0.9862, allocations: 354.8 kB / 0.9129 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/0.9866, allocations: 20 kB / 0.9129 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.9876, allocations: 47.95 kB / 0.9129 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.9878, allocations: 64.91 kB / 0.913 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002819/0.9906, allocations: 1.185 MB / 0.9142 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003666/0.9943, allocations: 1.885 MB / 0.916 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009524/0.9952, allocations: 0.5036 MB / 0.9165 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001603/0.9968, allocations: 0.881 MB / 0.9174 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of Backend: time 4.81e-07/0.9969, allocations: 0 / 0.9174 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006714/1.004, allocations: 2.152 MB / 0.9195 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of SimCode: time 0.006779/1.01, allocations: 3.409 MB / 0.9228 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of Templates: time 0.06216/1.073, allocations: 36.2 MB / 0.9581 GB, free: 7.902 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)