Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4957/0.4957, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 113.3 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.045e-05, allocations: 0 / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.514/4.659, allocations: 1.686 GB / 2.239 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/4.66, allocations: 85.05 kB / 2.24 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1775/4.837, allocations: 83.21 MB / 2.321 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/4.837, allocations: 0 / 2.321 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001048/4.837, allocations: 32 kB / 2.321 GB, free: 138.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002814/4.84, allocations: 1.326 MB / 2.322 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/4.84, allocations: 8.031 kB / 2.322 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/4.841, allocations: 230.1 kB / 2.322 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/4.843, allocations: 0.7444 MB / 2.323 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/4.843, allocations: 84.17 kB / 2.323 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/4.843, allocations: 72 kB / 2.323 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001595/4.845, allocations: 1.269 MB / 2.324 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/4.846, allocations: 1.058 MB / 2.326 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/4.846, allocations: 0 / 2.326 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/4.846, allocations: 0 / 2.326 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/4.846, allocations: 32 kB / 2.326 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004382/4.851, allocations: 3.329 MB / 2.329 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/4.852, allocations: 0.8116 MB / 2.33 GB, free: 129 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/4.852, allocations: 319.1 kB / 2.33 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.359e-05/4.852, allocations: 36.72 kB / 2.33 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006545/4.853, allocations: 0.4919 MB / 2.33 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=93): time 1.924e-06/4.853, allocations: 0 / 2.33 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93): time 0.001711/4.854, allocations: 0.829 MB / 2.331 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/4.854, allocations: 244.1 kB / 2.331 GB, free: 127 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/4.855, allocations: 0.5778 MB / 2.332 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/4.855, allocations: 25.7 kB / 2.332 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/4.855, allocations: 0.5153 MB / 2.333 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/4.856, allocations: 295.5 kB / 2.333 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/4.856, allocations: 4 kB / 2.333 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001081/4.856, allocations: 386.7 kB / 2.333 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/4.856, allocations: 266.6 kB / 2.333 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/4.857, allocations: 401.1 kB / 2.334 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/4.857, allocations: 338.2 kB / 2.334 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/4.857, allocations: 7.938 kB / 2.334 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001562/4.859, allocations: 0.8679 MB / 2.335 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/4.859, allocations: 9.234 kB / 2.335 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/4.859, allocations: 4.094 kB / 2.335 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/4.859, allocations: 84.72 kB / 2.335 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/4.86, allocations: 191.8 kB / 2.335 GB, free: 123 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/4.862, allocations: 1.469 MB / 2.337 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/4.862, allocations: 75.31 kB / 2.337 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/4.862, allocations: 39.97 kB / 2.337 GB, free: 121.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002196/4.863, allocations: 116.8 kB / 2.337 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001566/4.864, allocations: 0.828 MB / 2.338 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/4.864, allocations: 94.83 kB / 2.338 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/4.867, allocations: 1.195 MB / 2.339 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/4.867, allocations: 12 kB / 2.339 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/4.867, allocations: 0 / 2.339 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/4.867, allocations: 3.984 kB / 2.339 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/4.87, allocations: 2.195 MB / 2.341 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/4.87, allocations: 0 / 2.341 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/4.87, allocations: 183.7 kB / 2.341 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/4.871, allocations: 92.77 kB / 2.341 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/4.871, allocations: 19.97 kB / 2.341 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/4.872, allocations: 1.492 MB / 2.343 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/4.872, allocations: 0 / 2.343 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/4.874, allocations: 1.02 MB / 2.344 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/4.874, allocations: 335.5 kB / 2.344 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/4.874, allocations: 4 kB / 2.344 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/4.875, allocations: 59.94 kB / 2.344 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/4.875, allocations: 73.2 kB / 2.344 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/4.875, allocations: 35.98 kB / 2.344 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004864/4.876, allocations: 483.1 kB / 2.345 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/4.876, allocations: 0 / 2.345 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001184/4.877, allocations: 414.4 kB / 2.345 GB, free: 112.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003424/4.88, allocations: 2.559 MB / 2.348 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001383/4.882, allocations: 0.8357 MB / 2.349 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/4.882, allocations: 4.188 kB / 2.349 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006671/4.882, allocations: 0.526 MB / 2.349 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/4.883, allocations: 236.7 kB / 2.349 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/4.888, allocations: 1.877 MB / 2.351 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/4.888, allocations: 1.149 MB / 2.352 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009139/4.889, allocations: 283.1 kB / 2.353 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/4.89, allocations: 491.2 kB / 2.353 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.082e-06/4.89, allocations: 0 / 2.353 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0515/4.941, allocations: 27.61 MB / 2.38 GB, free: 76.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/4.942, allocations: 199 kB / 2.38 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/7.606, allocations: 3.125 kB / 2.38 GB, free: 76.66 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)