Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 252 MB / 267.3 MB, free: 10.84 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.001105/0.001105, allocations: 168.3 kB / 327 MB, free: 2.117 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.801/1.801, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008121/0.0008121, allocations: 89.92 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 9.156 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7634/1, allocations: 170.4 MB / 1.067 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02275/1.023, allocations: 15.13 MB / 1.082 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/1.026, allocations: 27.66 kB / 1.082 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/1.028, allocations: 498.3 kB / 1.083 GB, free: 1.645 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.006141/1.034, allocations: 1.286 MB / 1.084 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005932/1.04, allocations: 1.526 MB / 1.085 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005673/1.045, allocations: 3.258 MB / 1.089 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/1.048, allocations: 1.589 MB / 1.09 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005565/1.054, allocations: 1.104 MB / 1.091 GB, free: 1.219 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/1.056, allocations: 0.8183 MB / 1.092 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002903/1.056, allocations: 46.38 kB / 1.092 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003623/1.06, allocations: 1.265 MB / 1.093 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000506/1.06, allocations: 394.8 kB / 1.094 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001439/1.062, allocations: 0.7929 MB / 1.094 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005226/1.067, allocations: 2.678 MB / 1.097 GB, free: 17 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/1.067, allocations: 0 / 1.097 GB, free: 17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.647e-06/1.067, allocations: 3.375 kB / 1.097 GB, free: 17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.049e-05/1.067, allocations: 7.938 kB / 1.097 GB, free: 16.99 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004841/1.072, allocations: 1.799 MB / 1.099 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/1.072, allocations: 13.25 kB / 1.099 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003471/1.072, allocations: 231.4 kB / 1.099 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/1.075, allocations: 471.5 kB / 1.099 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/1.077, allocations: 1.069 MB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.048e-05/1.077, allocations: 114.9 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/1.078, allocations: 155.1 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/1.081, allocations: 1.726 MB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/1.081, allocations: 6.75 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/1.081, allocations: 72.41 kB / 1.103 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/1.081, allocations: 47.66 kB / 1.103 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/1.084, allocations: 1.719 MB / 1.104 GB, free: 15.18 MB / 0.7136 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.008428/1.092, allocations: 5.735 MB / 1.11 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/1.094, allocations: 1.22 MB / 1.111 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008631/1.095, allocations: 0.5406 MB / 1.112 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/1.096, allocations: 0.8886 MB / 1.112 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/1.097, allocations: 0.7408 MB / 1.113 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 4.228e-06/1.097, allocations: 0 / 1.113 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.004519/1.102, allocations: 1.767 MB / 1.115 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.102, allocations: 192.5 kB / 1.115 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/1.103, allocations: 0.9357 MB / 1.116 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/1.104, allocations: 50.53 kB / 1.116 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000527/1.104, allocations: 0.6432 MB / 1.117 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/1.104, allocations: 397.1 kB / 1.117 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/1.104, allocations: 22.88 kB / 1.117 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.105, allocations: 347 kB / 1.117 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007759/1.105, allocations: 400.7 kB / 1.118 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/1.106, allocations: 0.5447 MB / 1.118 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/1.108, allocations: 0.9621 MB / 1.119 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.108, allocations: 0 / 1.119 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002613/1.111, allocations: 1.212 MB / 1.12 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.111, allocations: 5.469 kB / 1.12 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.111, allocations: 1.438 kB / 1.12 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/1.111, allocations: 87.86 kB / 1.121 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/1.112, allocations: 271.3 kB / 1.121 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/1.115, allocations: 1.546 MB / 1.122 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/1.116, allocations: 149.7 kB / 1.122 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/1.116, allocations: 46.95 kB / 1.122 GB, free: 8.305 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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.0009321/1.117, allocations: 367.9 kB / 1.123 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/1.117, allocations: 132.8 kB / 1.123 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/1.121, allocations: 1.511 MB / 1.124 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/1.121, allocations: 15.5 kB / 1.124 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/1.121, allocations: 0.6562 kB / 1.124 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/1.121, allocations: 6 kB / 1.124 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/1.123, allocations: 1.408 MB / 1.126 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.123, allocations: 0 / 1.126 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.124, allocations: 266.3 kB / 1.126 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004983/1.125, allocations: 94.25 kB / 1.126 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/1.125, allocations: 36.67 kB / 1.126 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/1.127, allocations: 1.555 MB / 1.128 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.127, allocations: 3.094 kB / 1.128 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/1.131, allocations: 1.974 MB / 1.13 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000898/1.132, allocations: 394.7 kB / 1.13 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/1.132, allocations: 24.5 kB / 1.13 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.133, allocations: 125.3 kB / 1.13 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/1.133, allocations: 85.12 kB / 1.13 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.133, allocations: 60.2 kB / 1.13 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00102/1.134, allocations: 0.6461 MB / 1.131 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.653e-06/1.134, allocations: 0 / 1.131 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001749/1.136, allocations: 0.4973 MB / 1.131 GB, free: 5.602 MB / 0.7136 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.conTimMin.tNext,weaDat.conTim.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.006544/1.143, allocations: 3.081 MB / 1.134 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002982/1.146, allocations: 1.158 MB / 1.136 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.146, allocations: 3.844 kB / 1.136 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/1.147, allocations: 0.7133 MB / 1.136 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.15, allocations: 0.5206 MB / 1.137 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.171, allocations: 10.8 MB / 1.147 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.173, allocations: 1.294 MB / 1.149 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002108/1.175, allocations: 430.8 kB / 1.149 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009265/1.176, allocations: 0.6311 MB / 1.15 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of SimCode: time 1.944e-06/1.176, allocations: 0 / 1.15 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06324/1.239, allocations: 33.23 MB / 1.182 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/1.239, allocations: 282.9 kB / 1.182 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.669/4.908, allocations: 0 / 1.182 GB, free: 13.7 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)