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.5.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.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckSkyCover",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckSkyCover",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7013/0.7013, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 183.7 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.0008611/0.0008613, allocations: 82.48 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.515e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 76.75 MB / 0.6283 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5653, allocations: 105.8 MB / 0.7316 GB, free: 7.605 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5656, allocations: 88 kB / 0.7317 GB, free: 7.555 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.5823, allocations: 6.72 MB / 0.7382 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.5824, allocations: 3.938 kB / 0.7382 GB, free: 1.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.5824, allocations: 7.938 kB / 0.7382 GB, free: 1.973 MB / 490.7 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.0005798/0.583, allocations: 0.4888 MB / 0.7387 GB, free: 1.453 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.583, allocations: 8.031 kB / 0.7387 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.5831, allocations: 52.86 kB / 0.7388 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.5832, allocations: 31.58 kB / 0.7388 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.5835, allocations: 262 kB / 0.7391 GB, free: 1.086 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.5835, allocations: 22.42 kB / 0.7391 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.5835, allocations: 23.12 kB / 0.7391 GB, free: 1.055 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.5839, allocations: 210.4 kB / 0.7393 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5839, allocations: 0 / 0.7393 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.5839, allocations: 10 kB / 0.7393 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.584, allocations: 4 kB / 0.7393 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.5848, allocations: 0.7366 MB / 0.74 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.5857, allocations: 0.6088 MB / 0.7406 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.5861, allocations: 306.8 kB / 0.7409 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.5863, allocations: 115.5 kB / 0.741 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/0.5869, allocations: 464.7 kB / 0.7415 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.5872, allocations: 173.6 kB / 0.7416 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.754e-06/0.5872, allocations: 0 / 0.7416 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0004796/0.5877, allocations: 292.5 kB / 0.7419 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.5878, allocations: 81.11 kB / 0.742 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.588, allocations: 261.2 kB / 0.7422 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.5881, allocations: 41 kB / 0.7423 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.5882, allocations: 122 kB / 0.7424 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.5882, allocations: 123.6 kB / 0.7425 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.5883, allocations: 7.938 kB / 0.7425 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5884, allocations: 333.4 kB / 0.7428 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.5885, allocations: 83.34 kB / 0.7429 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.5887, allocations: 116.9 kB / 0.743 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.5888, allocations: 113.1 kB / 0.7431 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5888, allocations: 0 / 0.7431 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000405/0.5893, allocations: 288.5 kB / 0.7434 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5893, allocations: 7.984 kB / 0.7434 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5893, allocations: 0 / 0.7434 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5893, allocations: 7.938 kB / 0.7434 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.5895, allocations: 59.91 kB / 0.7435 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.5896, allocations: 4 kB / 0.7435 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.5897, allocations: 18.28 kB / 0.7435 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.5897, allocations: 15.98 kB / 0.7435 GB, free: 12.99 MB / 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 () * 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 9.227e-05/0.5898, allocations: 124.7 kB / 0.7436 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.5899, allocations: 31.58 kB / 0.7437 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/0.5905, allocations: 401.5 kB / 0.7441 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5906, allocations: 7.938 kB / 0.7441 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5906, allocations: 4 kB / 0.7441 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.5906, allocations: 8 kB / 0.7441 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.5909, allocations: 350.6 kB / 0.7444 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5909, allocations: 0 / 0.7444 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.5911, allocations: 63.22 kB / 0.7445 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.5911, allocations: 0 / 0.7445 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.5912, allocations: 15.75 kB / 0.7445 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5912, allocations: 4 kB / 0.7445 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5912, allocations: 0 / 0.7445 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.5916, allocations: 329.2 kB / 0.7448 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.5918, allocations: 161.7 kB / 0.745 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.5919, allocations: 2.75 kB / 0.745 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/0.592, allocations: 15.02 kB / 0.745 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.592, allocations: 27.84 kB / 0.745 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.592, allocations: 11.98 kB / 0.745 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001928/0.5922, allocations: 215.7 kB / 0.7452 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5923, allocations: 3.938 kB / 0.7452 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002961/0.5926, allocations: 94.23 kB / 0.7453 GB, free: 11.38 MB / 0.4948 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) * 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.001435/0.594, allocations: 1.152 MB / 0.7464 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.5944, allocations: 232.2 kB / 0.7467 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5944, allocations: 0 / 0.7467 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.5946, allocations: 131.7 kB / 0.7468 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.5948, allocations: 50.92 kB / 0.7468 GB, free: 10.05 MB / 0.4948 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/Resources/IBPSA/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009093/0.5957, allocations: 0.5209 MB / 0.7473 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.5961, allocations: 0.7647 MB / 0.7481 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003361/0.5964, allocations: 158.8 kB / 0.7482 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.5966, allocations: 94.58 kB / 0.7483 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of SimCode: time 2.845e-06/0.5966, allocations: 0 / 0.7483 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1879/0.7845, allocations: 5.793 MB / 0.754 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.7847, allocations: 230.2 kB / 0.7542 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.654, allocations: 0 / 0.7542 GB, free: 2.73 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckSkyCover_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckSkyCover.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)