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.7172/0.7172, allocations: 128.7 MB / 143.7 MB, free: 2.293 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.00105/0.00105, allocations: 180.4 kB / 173.7 MB, free: 6.098 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.631/1.631, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009537/0.0009535, allocations: 93.55 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 13.56 kB / 0.5604 GB, free: 97.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 76.77 MB / 0.6354 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.2871, allocations: 105.9 MB / 0.7388 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.2874, allocations: 91.94 kB / 0.7389 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3202/0.6077, allocations: 6.897 MB / 0.7457 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6077, allocations: 0 / 0.7457 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.6077, allocations: 4.344 kB / 0.7457 GB, free: 107.8 MB / 0.5105 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.0006444/0.6084, allocations: 0.5301 MB / 0.7462 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6084, allocations: 8.719 kB / 0.7462 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.6085, allocations: 51.39 kB / 0.7462 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.6086, allocations: 36.27 kB / 0.7463 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.6089, allocations: 271.3 kB / 0.7465 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.6089, allocations: 15.02 kB / 0.7465 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.609, allocations: 15.09 kB / 0.7466 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.6093, allocations: 214.2 kB / 0.7468 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6093, allocations: 1.922 kB / 0.7468 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.6093, allocations: 7.047 kB / 0.7468 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.6094, allocations: 3.5 kB / 0.7468 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.6104, allocations: 0.7446 MB / 0.7475 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/0.6113, allocations: 0.6012 MB / 0.7481 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.6118, allocations: 323.5 kB / 0.7484 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.6124, allocations: 463.3 kB / 0.7488 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.6127, allocations: 176.3 kB / 0.749 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.6127, allocations: 3.938 kB / 0.749 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.0006641/0.6134, allocations: 393.1 kB / 0.7494 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.6134, allocations: 86.52 kB / 0.7495 GB, free: 106 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.6137, allocations: 270.7 kB / 0.7497 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.6138, allocations: 32.22 kB / 0.7498 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.6138, allocations: 128.4 kB / 0.7499 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/0.6139, allocations: 121.6 kB / 0.75 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.6139, allocations: 3.312 kB / 0.75 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.614, allocations: 337.4 kB / 0.7503 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.6142, allocations: 84.44 kB / 0.7504 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.6143, allocations: 114 kB / 0.7505 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.6145, allocations: 116.2 kB / 0.7506 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6145, allocations: 0 / 0.7506 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004425/0.6149, allocations: 288.6 kB / 0.7509 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.615, allocations: 11.64 kB / 0.7509 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.615, allocations: 0 / 0.7509 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.615, allocations: 2.969 kB / 0.7509 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.6153, allocations: 64.83 kB / 0.751 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.6153, allocations: 0 / 0.751 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6154, allocations: 26.02 kB / 0.751 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.6154, allocations: 16.61 kB / 0.751 GB, free: 105.3 MB / 0.5105 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.0001742/0.6156, allocations: 160.4 kB / 0.7512 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.6157, allocations: 30.75 kB / 0.7512 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/0.6165, allocations: 419.5 kB / 0.7516 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6165, allocations: 2.75 kB / 0.7516 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6165, allocations: 0 / 0.7516 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6165, allocations: 1.922 kB / 0.7516 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.6169, allocations: 348.8 kB / 0.7519 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6169, allocations: 3.031 kB / 0.7519 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.6171, allocations: 62.44 kB / 0.752 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6172, allocations: 4.125 kB / 0.752 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.6172, allocations: 7.969 kB / 0.752 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.6172, allocations: 6.984 kB / 0.752 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6172, allocations: 2.438 kB / 0.752 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.6177, allocations: 329.8 kB / 0.7523 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.6179, allocations: 164.6 kB / 0.7525 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.6179, allocations: 10.81 kB / 0.7525 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.618, allocations: 12.97 kB / 0.7525 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.6181, allocations: 26.92 kB / 0.7525 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.6181, allocations: 16.34 kB / 0.7525 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002277/0.6184, allocations: 224 kB / 0.7528 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6184, allocations: 0 / 0.7528 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003639/0.6188, allocations: 91.41 kB / 0.7528 GB, free: 104.6 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.001739/0.6205, allocations: 1.196 MB / 0.754 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.621, allocations: 235.1 kB / 0.7542 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.621, allocations: 0 / 0.7542 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.6213, allocations: 145.3 kB / 0.7544 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.6216, allocations: 37.89 kB / 0.7544 GB, free: 103.9 MB / 0.5105 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.002539/0.6242, allocations: 1.526 MB / 0.7559 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.6245, allocations: 0.7767 MB / 0.7567 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004084/0.6249, allocations: 158 kB / 0.7568 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.6251, allocations: 96.91 kB / 0.7569 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/0.6251, allocations: 0 / 0.7569 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2231/0.8482, allocations: 5.787 MB / 0.7626 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.8484, allocations: 260.5 kB / 0.7628 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.605, allocations: 1.375 kB / 0.7628 GB, free: 101.2 MB / 0.5105 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)