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.0009808/0.0009807, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009209/0.00921, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.576/1.576, allocations: 205.4 MB / 222.4 MB, free: 5.777 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.807/1.807, allocations: 292.7 MB / 0.5502 GB, free: 14.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.0006293/0.0006296, allocations: 15.47 kB / 0.6743 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2406, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7417/0.9824, allocations: 170.3 MB / 0.9541 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02082/1.003, allocations: 15.02 MB / 0.9688 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/1.006, allocations: 28.34 kB / 0.9688 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/1.008, allocations: 496.2 kB / 0.9693 GB, free: 14.98 MB / 0.7325 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.00569/1.014, allocations: 1.24 MB / 0.9705 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005669/1.019, allocations: 1.471 MB / 0.972 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005441/1.025, allocations: 3.044 MB / 0.9749 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/1.028, allocations: 1.55 MB / 0.9764 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00495/1.033, allocations: 1.025 MB / 0.9774 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/1.035, allocations: 0.7907 MB / 0.9782 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/1.035, allocations: 48.25 kB / 0.9783 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/1.038, allocations: 1.263 MB / 0.9795 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004093/1.038, allocations: 382.5 kB / 0.9799 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009596/1.039, allocations: 0.771 MB / 0.9806 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/1.043, allocations: 2.62 MB / 0.9832 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.043, allocations: 0 / 0.9832 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/1.043, allocations: 0 / 0.9832 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.832e-05/1.043, allocations: 0 / 0.9832 GB, free: 11.36 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.003405/1.047, allocations: 1.779 MB / 0.9849 GB, free: 10 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.047, allocations: 8.469 kB / 0.9849 GB, free: 10 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/1.05, allocations: 467.6 kB / 0.9854 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/1.051, allocations: 1.053 MB / 0.9864 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/1.051, allocations: 116.3 kB / 0.9865 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/1.052, allocations: 152 kB / 0.9866 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/1.055, allocations: 1.705 MB / 0.9883 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/1.055, allocations: 3 kB / 0.9883 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.055, allocations: 64.47 kB / 0.9884 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/1.055, allocations: 47.97 kB / 0.9884 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/1.058, allocations: 1.715 MB / 0.9901 GB, free: 6.938 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.008307/1.066, allocations: 5.704 MB / 0.9957 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/1.068, allocations: 1.478 MB / 0.9971 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009686/1.069, allocations: 0.5416 MB / 0.9976 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009316/1.07, allocations: 0.8893 MB / 0.9985 GB, free: 144 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/1.072, allocations: 0.737 MB / 0.9992 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=117): time 3.155e-06/1.072, allocations: 2.188 kB / 0.9992 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117): time 0.004741/1.077, allocations: 1.78 MB / 1.001 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.077, allocations: 195.8 kB / 1.001 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/1.078, allocations: 0.9113 MB / 1.002 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.078, allocations: 52.58 kB / 1.002 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005472/1.079, allocations: 0.6308 MB / 1.003 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/1.079, allocations: 395.9 kB / 1.003 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/1.079, allocations: 94.31 kB / 1.003 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.079, allocations: 352.8 kB / 1.004 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000844/1.08, allocations: 415.4 kB / 1.004 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/1.081, allocations: 0.5679 MB / 1.004 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/1.083, allocations: 0.9917 MB / 1.005 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.083, allocations: 3.938 kB / 1.005 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00306/1.086, allocations: 1.278 MB / 1.007 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.086, allocations: 6.219 kB / 1.007 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.086, allocations: 0 / 1.007 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/1.087, allocations: 90.23 kB / 1.007 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/1.088, allocations: 278.8 kB / 1.007 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/1.09, allocations: 1.539 MB / 1.009 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.092, allocations: 152.3 kB / 1.009 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/1.092, allocations: 46.78 kB / 1.009 GB, free: 9.191 MB / 0.7481 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007831/1.093, allocations: 370.3 kB / 1.009 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/1.093, allocations: 133.1 kB / 1.009 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/1.096, allocations: 1.51 MB / 1.011 GB, free: 8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.096, allocations: 11 kB / 1.011 GB, free: 8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.096, allocations: 0 / 1.011 GB, free: 8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.096, allocations: 3.984 kB / 1.011 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/1.101, allocations: 2.977 MB / 1.014 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.101, allocations: 48 / 1.014 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.103, allocations: 279.4 kB / 1.014 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005146/1.103, allocations: 81.5 kB / 1.014 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.471e-05/1.103, allocations: 37.03 kB / 1.014 GB, free: 5.977 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/1.105, allocations: 1.552 MB / 1.016 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.105, allocations: 4.141 kB / 1.016 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/1.109, allocations: 2.041 MB / 1.018 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007532/1.11, allocations: 387.5 kB / 1.018 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/1.11, allocations: 21.81 kB / 1.018 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.111, allocations: 126.8 kB / 1.018 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.111, allocations: 89.78 kB / 1.018 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.111, allocations: 55.44 kB / 1.018 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008388/1.112, allocations: 0.6408 MB / 1.019 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.112, allocations: 0 / 1.019 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00127/1.113, allocations: 496.6 kB / 1.019 GB, free: 2.387 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/1.115, allocations: 0.6591 MB / 1.02 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002433/1.117, allocations: 1.209 MB / 1.021 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.117, allocations: 4.297 kB / 1.021 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/1.118, allocations: 0.7171 MB / 1.022 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.121, allocations: 0.5119 MB / 1.022 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006225/1.127, allocations: 3.643 MB / 1.026 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009017/1.128, allocations: 1.273 MB / 1.027 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001866/1.13, allocations: 429.9 kB / 1.027 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/1.13, allocations: 143.3 kB / 1.028 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of SimCode: time 1.062e-06/1.13, allocations: 0 / 1.028 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of Templates: time 0.04282/1.173, allocations: 23.65 MB / 1.051 GB, free: 5.355 MB / 0.7794 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: