Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7022/0.7022, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 188.4 kB / 161.7 MB, free: 2.727 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 394.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007509/0.000751, allocations: 103.4 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 16 kB / 0.5423 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.357, allocations: 74.54 MB / 0.6151 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4829, allocations: 104.8 MB / 0.7175 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.4833, allocations: 87.95 kB / 0.7176 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.5007, allocations: 6.93 MB / 0.7243 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5007, allocations: 0 / 0.7243 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.293e-05/0.5007, allocations: 12 kB / 0.7243 GB, free: 6.105 MB / 0.4948 GB 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.0008862/0.5016, allocations: 0.5255 MB / 0.7249 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.5017, allocations: 8.031 kB / 0.7249 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.5018, allocations: 24.66 kB / 0.7249 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.5023, allocations: 282.7 kB / 0.7252 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.5024, allocations: 16.38 kB / 0.7252 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.5024, allocations: 16.38 kB / 0.7252 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.5029, allocations: 211.4 kB / 0.7254 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5029, allocations: 192 / 0.7254 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.5029, allocations: 15.88 kB / 0.7254 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5029, allocations: 4 kB / 0.7254 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.504, allocations: 0.7451 MB / 0.7261 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.5052, allocations: 0.6054 MB / 0.7267 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.5059, allocations: 323.9 kB / 0.727 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.5061, allocations: 112.9 kB / 0.7271 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007109/0.5068, allocations: 461.4 kB / 0.7276 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.5071, allocations: 179 kB / 0.7278 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.5072, allocations: 0 / 0.7278 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0007466/0.5079, allocations: 376.8 kB / 0.7281 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.508, allocations: 85.05 kB / 0.7282 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.5083, allocations: 293 kB / 0.7285 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.5084, allocations: 33.7 kB / 0.7285 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.5085, allocations: 133 kB / 0.7286 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.5086, allocations: 118.3 kB / 0.7287 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.5086, allocations: 4 kB / 0.7287 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5088, allocations: 342.8 kB / 0.7291 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.5089, allocations: 83.7 kB / 0.7292 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.5091, allocations: 114.9 kB / 0.7293 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.5094, allocations: 220.9 kB / 0.7295 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5094, allocations: 4.031 kB / 0.7295 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004388/0.5099, allocations: 293 kB / 0.7298 GB, free: 212 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5099, allocations: 7.938 kB / 0.7298 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5099, allocations: 0 / 0.7298 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5099, allocations: 0 / 0.7298 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.5101, allocations: 71.89 kB / 0.7298 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.5102, allocations: 0 / 0.7298 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.5103, allocations: 27.69 kB / 0.7299 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.5103, allocations: 12 kB / 0.7299 GB, free: 92 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.5105, allocations: 173.7 kB / 0.73 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.5105, allocations: 23.72 kB / 0.7301 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/0.5112, allocations: 400.4 kB / 0.7304 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5113, allocations: 4 kB / 0.7304 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5113, allocations: 11.98 kB / 0.7305 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5113, allocations: 0 / 0.7305 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.5116, allocations: 353.1 kB / 0.7308 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5117, allocations: 0 / 0.7308 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.5118, allocations: 63.91 kB / 0.7309 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5119, allocations: 4 kB / 0.7309 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.5119, allocations: 15.98 kB / 0.7309 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5119, allocations: 0 / 0.7309 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5119, allocations: 0 / 0.7309 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.5124, allocations: 341.5 kB / 0.7312 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.5125, allocations: 160.6 kB / 0.7314 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.5126, allocations: 7.984 kB / 0.7314 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.5127, allocations: 8 kB / 0.7314 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.5127, allocations: 23.97 kB / 0.7314 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.5128, allocations: 19.98 kB / 0.7314 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002117/0.513, allocations: 216.4 kB / 0.7316 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.513, allocations: 0 / 0.7316 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003604/0.5134, allocations: 99.8 kB / 0.7317 GB, free: 14.1 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009597/0.5143, allocations: 427.6 kB / 0.7321 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.5147, allocations: 243.6 kB / 0.7324 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5148, allocations: 0 / 0.7324 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.5149, allocations: 135.8 kB / 0.7325 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.5153, allocations: 40.36 kB / 0.7325 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/0.5162, allocations: 0.6105 MB / 0.7331 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5166, allocations: 0.7652 MB / 0.7339 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003714/0.517, allocations: 162.8 kB / 0.734 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.5171, allocations: 43.36 kB / 0.7341 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.5171, allocations: 0 / 0.7341 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.007571/0.5247, allocations: 3.2 MB / 0.7372 GB, free: 8.613 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)