Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.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.CheckRadiation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation",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.6912/0.6912, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001019/0.001019, allocations: 176.8 kB / 169.7 MB, free: 1.742 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.434/1.434, allocations: 205.1 MB / 404.5 MB, free: 1.648 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.0008679/0.0008677, allocations: 95.38 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.312e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1469, allocations: 76.77 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.486/0.633, allocations: 106 MB / 0.7318 GB, free: 7.363 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.6333, allocations: 82.45 kB / 0.7319 GB, free: 7.316 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.6498, allocations: 6.64 MB / 0.7384 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6499, allocations: 3.938 kB / 0.7384 GB, free: 1.809 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.6499, allocations: 8 kB / 0.7384 GB, free: 1.801 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.0005367/0.6504, allocations: 491 kB / 0.7388 GB, free: 1.293 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6505, allocations: 12.03 kB / 0.7389 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/0.6505, allocations: 49.3 kB / 0.7389 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004223/0.651, allocations: 71.52 kB / 0.739 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.6513, allocations: 259.7 kB / 0.7392 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6513, allocations: 22.69 kB / 0.7392 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.6514, allocations: 15.44 kB / 0.7393 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.6517, allocations: 218 kB / 0.7395 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.6517, allocations: 0 / 0.7395 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.6518, allocations: 9.75 kB / 0.7395 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.6518, allocations: 11.92 kB / 0.7395 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.6526, allocations: 0.7521 MB / 0.7402 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.6537, allocations: 0.6153 MB / 0.7408 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.6542, allocations: 316 kB / 0.7411 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.6543, allocations: 102.8 kB / 0.7412 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.6544, allocations: 23.69 kB / 0.7412 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.6547, allocations: 184.9 kB / 0.7414 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.6547, allocations: 0 / 0.7414 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0005288/0.6552, allocations: 276.5 kB / 0.7417 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.6553, allocations: 81.11 kB / 0.7418 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.6556, allocations: 263.5 kB / 0.742 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.6556, allocations: 33.52 kB / 0.742 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.6557, allocations: 120.3 kB / 0.7422 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.361e-05/0.6558, allocations: 124.2 kB / 0.7423 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.6558, allocations: 3.438 kB / 0.7423 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.656, allocations: 341.9 kB / 0.7426 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.6561, allocations: 75.42 kB / 0.7427 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.6563, allocations: 123.9 kB / 0.7428 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.6564, allocations: 108.6 kB / 0.7429 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6565, allocations: 0 / 0.7429 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000405/0.6569, allocations: 275.9 kB / 0.7432 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6569, allocations: 4.625 kB / 0.7432 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6569, allocations: 3.984 kB / 0.7432 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.6569, allocations: 0 / 0.7432 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.6572, allocations: 67.22 kB / 0.7432 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.6572, allocations: 4 kB / 0.7432 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.6574, allocations: 34.8 kB / 0.7433 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.6574, allocations: 19.3 kB / 0.7433 GB, free: 13.3 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.timCon.tStart,timCon.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.27e-05/0.6575, allocations: 123.1 kB / 0.7434 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.6576, allocations: 23.72 kB / 0.7434 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006846/0.6582, allocations: 404.7 kB / 0.7438 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.6583, allocations: 4 kB / 0.7438 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6583, allocations: 0 / 0.7438 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6583, allocations: 3.984 kB / 0.7438 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.6586, allocations: 350.4 kB / 0.7442 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6586, allocations: 0 / 0.7442 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.6589, allocations: 67.84 kB / 0.7442 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6589, allocations: 0 / 0.7442 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.6589, allocations: 11.73 kB / 0.7442 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.6589, allocations: 4 kB / 0.7442 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6589, allocations: 0 / 0.7442 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.6594, allocations: 319 kB / 0.7445 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.6595, allocations: 158.8 kB / 0.7447 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.6596, allocations: 7.312 kB / 0.7447 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.6597, allocations: 18.73 kB / 0.7447 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.6598, allocations: 23.84 kB / 0.7447 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.6598, allocations: 12 kB / 0.7448 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001812/0.66, allocations: 213.2 kB / 0.745 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.66, allocations: 0 / 0.745 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002736/0.6603, allocations: 77.83 kB / 0.745 GB, free: 11.73 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,timCon.tStart) * Number of discrete states: 1 (timCon.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.001478/0.6618, allocations: 1.135 MB / 0.7461 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.6622, allocations: 228.5 kB / 0.7464 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6622, allocations: 0 / 0.7464 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.6624, allocations: 135.9 kB / 0.7465 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.6626, allocations: 23.41 kB / 0.7465 GB, free: 10.46 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.00094/0.6635, allocations: 0.5009 MB / 0.747 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.6639, allocations: 0.7632 MB / 0.7477 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003741/0.6642, allocations: 158.8 kB / 0.7479 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.6644, allocations: 89.27 kB / 0.748 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of SimCode: time 1.522e-06/0.6644, allocations: 0 / 0.748 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1947/0.8591, allocations: 5.239 MB / 0.7531 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.8593, allocations: 227.7 kB / 0.7533 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.573, allocations: 4 kB / 0.7533 GB, free: 3.711 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1)