Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4134/0.4154, allocations: 80.81 MB / 0.5904 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.003079/0.4185, allocations: 1.733 MB / 0.5921 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4198, allocations: 1.114 MB / 0.5932 GB, free: 19.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.4199, allocations: 4 kB / 0.5932 GB, free: 19.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.4201, allocations: 27.78 kB / 0.5932 GB, free: 19.87 MB / 446.1 MB [/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.0002196/0.4203, allocations: 59.86 kB / 0.5933 GB, free: 19.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.4206, allocations: 125.3 kB / 0.5934 GB, free: 19.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.4208, allocations: 229.6 kB / 0.5936 GB, free: 19.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4209, allocations: 37 kB / 0.5937 GB, free: 19.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.421, allocations: 80.86 kB / 0.5937 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.4211, allocations: 91.72 kB / 0.5938 GB, free: 19.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.4212, allocations: 17.66 kB / 0.5938 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.4213, allocations: 107.9 kB / 0.5939 GB, free: 19.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-05/0.4214, allocations: 83.75 kB / 0.594 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.4215, allocations: 107.3 kB / 0.5941 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.4218, allocations: 300.1 kB / 0.5944 GB, free: 18.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4218, allocations: 4 kB / 0.5944 GB, free: 18.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4218, allocations: 4 kB / 0.5944 GB, free: 18.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4218, allocations: 0.5938 kB / 0.5944 GB, free: 18.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006196/0.4224, allocations: 0.554 MB / 0.595 GB, free: 18.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.4225, allocations: 12.03 kB / 0.595 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.4225, allocations: 26.72 kB / 0.595 GB, free: 18.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.4228, allocations: 278.3 kB / 0.5953 GB, free: 17.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4228, allocations: 12 kB / 0.5953 GB, free: 17.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.4228, allocations: 19.98 kB / 0.5953 GB, free: 17.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.4231, allocations: 208.3 kB / 0.5955 GB, free: 17.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4231, allocations: 0 / 0.5955 GB, free: 17.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.4231, allocations: 12.5 kB / 0.5955 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.4232, allocations: 6.781 kB / 0.5955 GB, free: 17.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.4238, allocations: 0.7487 MB / 0.5962 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/0.4245, allocations: 0.5815 MB / 0.5968 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.4249, allocations: 320 kB / 0.5971 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.4251, allocations: 112.9 kB / 0.5972 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/0.4256, allocations: 461.3 kB / 0.5977 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.4259, allocations: 182.8 kB / 0.5978 GB, free: 14.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.4259, allocations: 0 / 0.5978 GB, free: 14.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.0005688/0.4265, allocations: 388.8 kB / 0.5982 GB, free: 14.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4265, allocations: 92.86 kB / 0.5983 GB, free: 14.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.4267, allocations: 304.6 kB / 0.5986 GB, free: 14.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4268, allocations: 33.7 kB / 0.5986 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.4268, allocations: 129 kB / 0.5987 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/0.4269, allocations: 126.2 kB / 0.5989 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.427, allocations: 65.69 kB / 0.5989 GB, free: 13.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.427, allocations: 334.8 kB / 0.5992 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.4272, allocations: 79.95 kB / 0.5993 GB, free: 13.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.4273, allocations: 130.6 kB / 0.5994 GB, free: 13.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.4276, allocations: 220.5 kB / 0.5996 GB, free: 12.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4276, allocations: 0 / 0.5996 GB, free: 12.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003568/0.428, allocations: 297.1 kB / 0.5999 GB, free: 12.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.428, allocations: 6.188 kB / 0.5999 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.428, allocations: 3.938 kB / 0.5999 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.428, allocations: 7.938 kB / 0.6 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.4282, allocations: 63.89 kB / 0.6 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.4282, allocations: 4 kB / 0.6 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.4283, allocations: 27.72 kB / 0.6 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.4284, allocations: 16 kB / 0.6001 GB, free: 12.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001142/0.4285, allocations: 161.7 kB / 0.6002 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.4285, allocations: 27.72 kB / 0.6002 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.429, allocations: 336.5 kB / 0.6006 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.429, allocations: 4 kB / 0.6006 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.429, allocations: 0 / 0.6006 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.429, allocations: 0 / 0.6006 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.4293, allocations: 341.2 kB / 0.6009 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4293, allocations: 0 / 0.6009 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.4294, allocations: 63.91 kB / 0.6009 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4294, allocations: 0 / 0.6009 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.4295, allocations: 15.94 kB / 0.601 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4295, allocations: 4 kB / 0.601 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4295, allocations: 4 kB / 0.601 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.4298, allocations: 337.2 kB / 0.6013 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.4299, allocations: 144.7 kB / 0.6014 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.43, allocations: 11.94 kB / 0.6014 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.4301, allocations: 7.984 kB / 0.6014 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.4301, allocations: 27.97 kB / 0.6015 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.4302, allocations: 11.98 kB / 0.6015 GB, free: 10.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.4303, allocations: 236.5 kB / 0.6017 GB, free: 10.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4303, allocations: 0 / 0.6017 GB, free: 10.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.4306, allocations: 83.83 kB / 0.6018 GB, free: 10.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008688/0.4314, allocations: 421.6 kB / 0.6022 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004339/0.4319, allocations: 319.5 kB / 0.6025 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4319, allocations: 0 / 0.6025 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.4321, allocations: 140.8 kB / 0.6026 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.4324, allocations: 44.97 kB / 0.6027 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.4331, allocations: 0.5204 MB / 0.6032 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.4333, allocations: 0.7689 MB / 0.6039 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.4336, allocations: 150.8 kB / 0.6041 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.4337, allocations: 47.42 kB / 0.6041 GB, free: 8.402 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.4337, allocations: 0 / 0.6041 GB, free: 8.402 MB / 446.1 MB Notification: Performance of Templates: time 0.005644/0.4393, allocations: 3.175 MB / 0.6072 GB, free: 5.293 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)