Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 289.9 MB / 297.4 MB, free: 6.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009928/0.0009928, allocations: 176.8 kB / 366.7 MB, free: 1.703 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.3 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 89.19 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.163e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8068/0.8069, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.509/6.316, allocations: 2.072 GB / 3.045 GB, free: 12.29 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/6.317, allocations: 86.83 kB / 3.045 GB, free: 12.24 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.827/7.144, allocations: 61.36 MB / 3.105 GB, free: 330.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.164e-06/7.144, allocations: 0 / 3.105 GB, free: 330.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001004/7.144, allocations: 18.59 kB / 3.105 GB, free: 330.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001991/7.146, allocations: 1.034 MB / 3.106 GB, free: 330.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/7.146, allocations: 12.97 kB / 3.106 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/7.147, allocations: 188.1 kB / 3.106 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/7.148, allocations: 0.6044 MB / 3.107 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/7.148, allocations: 28.88 kB / 3.107 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/7.148, allocations: 42.84 kB / 3.107 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001622/7.149, allocations: 0.9635 MB / 3.108 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/7.151, allocations: 0.7047 MB / 3.109 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/7.151, allocations: 0 / 3.109 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/7.151, allocations: 1.031 kB / 3.109 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/7.151, allocations: 23.83 kB / 3.109 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/7.154, allocations: 2.241 MB / 3.111 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/7.155, allocations: 0.6438 MB / 3.112 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/7.156, allocations: 241.9 kB / 3.112 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/7.156, allocations: 33.09 kB / 3.112 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006579/7.157, allocations: 378.5 kB / 3.112 GB, free: 327.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/7.157, allocations: 0 / 3.112 GB, free: 327.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001609/7.158, allocations: 0.6409 MB / 3.113 GB, free: 326.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/7.158, allocations: 248.3 kB / 3.113 GB, free: 326.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/7.159, allocations: 0.49 MB / 3.114 GB, free: 326.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/7.159, allocations: 26.98 kB / 3.114 GB, free: 326.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/7.159, allocations: 373.6 kB / 3.114 GB, free: 326 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/7.16, allocations: 223 kB / 3.114 GB, free: 325.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/7.16, allocations: 0 / 3.114 GB, free: 325.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000123/7.16, allocations: 374.2 kB / 3.114 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/7.16, allocations: 183.3 kB / 3.115 GB, free: 325.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/7.16, allocations: 291 kB / 3.115 GB, free: 325.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/7.161, allocations: 237.7 kB / 3.115 GB, free: 325 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/7.161, allocations: 1.156 kB / 3.115 GB, free: 325 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001419/7.162, allocations: 0.6403 MB / 3.116 GB, free: 324.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/7.162, allocations: 4.312 kB / 3.116 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/7.162, allocations: 1.125 kB / 3.116 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/7.163, allocations: 82.12 kB / 3.116 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/7.163, allocations: 138.2 kB / 3.116 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/7.165, allocations: 1.466 MB / 3.117 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/7.166, allocations: 57.25 kB / 3.117 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/7.166, allocations: 29.5 kB / 3.118 GB, free: 323.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (72): * Single equations (assignments): 71 * 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.0001574/7.166, allocations: 120 kB / 3.118 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001463/7.167, allocations: 0.6485 MB / 3.118 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/7.168, allocations: 77.95 kB / 3.118 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/7.17, allocations: 0.8931 MB / 3.119 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/7.17, allocations: 7.688 kB / 3.119 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/7.17, allocations: 0 / 3.119 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/7.17, allocations: 13.11 kB / 3.119 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009392/7.171, allocations: 0.7454 MB / 3.12 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/7.171, allocations: 0 / 3.12 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/7.171, allocations: 135.2 kB / 3.12 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/7.172, allocations: 84.86 kB / 3.12 GB, free: 321.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/7.172, allocations: 13.95 kB / 3.12 GB, free: 321.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/7.173, allocations: 1.498 MB / 3.122 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/7.173, allocations: 1.469 kB / 3.122 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/7.175, allocations: 0.7416 MB / 3.122 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/7.175, allocations: 278.7 kB / 3.123 GB, free: 319.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/7.175, allocations: 0 / 3.123 GB, free: 319.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/7.175, allocations: 50.8 kB / 3.123 GB, free: 319.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/7.176, allocations: 63.98 kB / 3.123 GB, free: 319.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/7.176, allocations: 27.64 kB / 3.123 GB, free: 319.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004463/7.176, allocations: 404.2 kB / 3.123 GB, free: 319.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.176, allocations: 0 / 3.123 GB, free: 319.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001001/7.177, allocations: 300.6 kB / 3.123 GB, free: 319 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003157/7.18, allocations: 2.231 MB / 3.126 GB, free: 317.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001061/7.181, allocations: 0.6349 MB / 3.126 GB, free: 317.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/7.181, allocations: 2.062 kB / 3.126 GB, free: 317.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005803/7.182, allocations: 441 kB / 3.127 GB, free: 317.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/7.183, allocations: 219.1 kB / 3.127 GB, free: 317.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/7.186, allocations: 1.443 MB / 3.128 GB, free: 316.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/7.187, allocations: 1.01 MB / 3.129 GB, free: 315.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007547/7.188, allocations: 258.3 kB / 3.13 GB, free: 315.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/7.188, allocations: 332.6 kB / 3.13 GB, free: 315.1 MB / 0.948 GB Notification: Performance of SimCode: time 8.31e-07/7.188, allocations: 0 / 3.13 GB, free: 315.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04828/7.236, allocations: 22.62 MB / 3.152 GB, free: 296.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/7.237, allocations: 183.1 kB / 3.152 GB, free: 296 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/9.948, allocations: 0 / 3.152 GB, free: 296 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)