Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.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.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008037/0.0008037, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008014/0.0008014, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.611/1.611, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005329/0.0005332, allocations: 12 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2331, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.639/0.8722, allocations: 158.8 MB / 0.9424 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.8902, allocations: 14.08 MB / 0.9561 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.892, allocations: 32.66 kB / 0.9562 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.8933, allocations: 403.1 kB / 0.9566 GB, free: 4.52 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.00387/0.8972, allocations: 1.056 MB / 0.9576 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/0.9013, allocations: 1.229 MB / 0.9588 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003423/0.9047, allocations: 2.661 MB / 0.9614 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/0.9069, allocations: 1.336 MB / 0.9627 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.9089, allocations: 0.9727 MB / 0.9636 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.9101, allocations: 0.7534 MB / 0.9644 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.9103, allocations: 44.34 kB / 0.9644 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.9128, allocations: 0.7672 MB / 0.9652 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.9132, allocations: 369.7 kB / 0.9655 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008039/0.9141, allocations: 328.3 kB / 0.9658 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.9171, allocations: 1.976 MB / 0.9678 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.9171, allocations: 1.25 kB / 0.9678 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9171, allocations: 0 / 0.9678 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.538e-05/0.9172, allocations: 0 / 0.9678 GB, free: 18.72 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.003362/0.9205, allocations: 1.801 MB / 0.9695 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.9206, allocations: 12.23 kB / 0.9695 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.9236, allocations: 464.5 kB / 0.97 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.9255, allocations: 1.01 MB / 0.971 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-05/0.9256, allocations: 115 kB / 0.9711 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.9258, allocations: 154 kB / 0.9712 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.9287, allocations: 1.694 MB / 0.9729 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.9288, allocations: 3.906 kB / 0.9729 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.9289, allocations: 66.34 kB / 0.9729 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.929, allocations: 46.23 kB / 0.973 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.9315, allocations: 1.708 MB / 0.9747 GB, free: 16.74 MB / 0.7325 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.007806/0.9393, allocations: 5.696 MB / 0.9802 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.9414, allocations: 1.469 MB / 0.9817 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/0.9422, allocations: 0.5391 MB / 0.9822 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008068/0.943, allocations: 0.8827 MB / 0.983 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.9442, allocations: 0.7301 MB / 0.9838 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=117): time 2.574e-06/0.9442, allocations: 0 / 0.9838 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117): time 0.004136/0.9484, allocations: 1.762 MB / 0.9855 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/0.9485, allocations: 196.1 kB / 0.9857 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.9496, allocations: 0.9136 MB / 0.9866 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.9498, allocations: 50.05 kB / 0.9866 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/0.9503, allocations: 0.6273 MB / 0.9872 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.9506, allocations: 396.2 kB / 0.9876 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.9506, allocations: 27.78 kB / 0.9876 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9508, allocations: 346.3 kB / 0.9879 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/0.9515, allocations: 415.7 kB / 0.9883 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008274/0.9523, allocations: 0.5638 MB / 0.9889 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/0.9532, allocations: 495.9 kB / 0.9894 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9532, allocations: 0 / 0.9894 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002492/0.9557, allocations: 1.269 MB / 0.9906 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9557, allocations: 8.062 kB / 0.9906 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9557, allocations: 0 / 0.9906 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005283/0.9562, allocations: 92.38 kB / 0.9907 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.9575, allocations: 279.2 kB / 0.991 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.9594, allocations: 1.534 MB / 0.9925 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.9607, allocations: 154.4 kB / 0.9926 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/0.9608, allocations: 54.75 kB / 0.9927 GB, free: 7.246 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007176/0.9616, allocations: 363.5 kB / 0.993 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.9618, allocations: 126.1 kB / 0.9931 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.9648, allocations: 1.52 MB / 0.9946 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.9648, allocations: 18.55 kB / 0.9946 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9649, allocations: 0 / 0.9946 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.9649, allocations: 3.984 kB / 0.9946 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004691/0.9696, allocations: 2.959 MB / 0.9975 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.9696, allocations: 0 / 0.9975 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.9707, allocations: 271.8 kB / 0.9978 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.9712, allocations: 88.98 kB / 0.9979 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.599e-05/0.9713, allocations: 34.62 kB / 0.9979 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.9731, allocations: 1.566 MB / 0.9994 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.9731, allocations: 0 / 0.9994 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.9769, allocations: 2.029 MB / 1.001 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.978, allocations: 392.1 kB / 1.002 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.9782, allocations: 21.28 kB / 1.002 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.9792, allocations: 117.1 kB / 1.002 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.9794, allocations: 84.25 kB / 1.002 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.9795, allocations: 54.69 kB / 1.002 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008067/0.9803, allocations: 0.6278 MB / 1.003 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9803, allocations: 2.562 kB / 1.003 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001325/0.9816, allocations: 0.493 MB / 1.003 GB, free: 3.055 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/0.9831, allocations: 0.6594 MB / 1.004 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002297/0.9854, allocations: 1.198 MB / 1.005 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.9854, allocations: 6.078 kB / 1.005 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.9866, allocations: 0.72 MB / 1.006 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.989, allocations: 0.5001 MB / 1.006 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/0.9952, allocations: 3.543 MB / 1.01 GB, free: 80 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.9963, allocations: 1.287 MB / 1.011 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001858/0.9982, allocations: 430.2 kB / 1.011 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.9986, allocations: 140 kB / 1.011 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/0.9986, allocations: 0 / 1.011 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of Templates: time 0.03823/1.037, allocations: 22.93 MB / 1.034 GB, free: 11.56 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) Environment - environmentSimulation: