Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.751/1.751, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001444/0.001444, allocations: 169 kB / 366.7 MB, free: 1.691 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.898/1.898, allocations: 205.3 MB / 0.626 GB, free: 7.191 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.0009094/0.0009094, allocations: 92.45 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.73e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7759/0.776, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.44/6.216, allocations: 2.073 GB / 3.046 GB, free: 11.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/6.217, allocations: 96.47 kB / 3.047 GB, free: 10.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6328/6.85, allocations: 57.53 MB / 3.103 GB, free: 330.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.836e-06/6.85, allocations: 0 / 3.103 GB, free: 330.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.578e-05/6.85, allocations: 23.25 kB / 3.103 GB, free: 330.9 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001892/6.852, allocations: 1.06 MB / 3.104 GB, free: 330.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/6.852, allocations: 13.44 kB / 3.104 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/6.853, allocations: 184.6 kB / 3.104 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/6.854, allocations: 0.6095 MB / 3.105 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/6.854, allocations: 30.66 kB / 3.105 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/6.854, allocations: 46.83 kB / 3.105 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001512/6.856, allocations: 0.9992 MB / 3.106 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/6.857, allocations: 0.7247 MB / 3.106 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/6.857, allocations: 0 / 3.106 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/6.857, allocations: 1.938 kB / 3.106 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/6.857, allocations: 23.98 kB / 3.106 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003383/6.86, allocations: 2.274 MB / 3.109 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/6.861, allocations: 0.6653 MB / 3.109 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/6.862, allocations: 245.8 kB / 3.109 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-05/6.862, allocations: 34.42 kB / 3.109 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000657/6.862, allocations: 407.5 kB / 3.11 GB, free: 327.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.735e-06/6.862, allocations: 0 / 3.11 GB, free: 327.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001687/6.864, allocations: 0.6687 MB / 3.111 GB, free: 327 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/6.864, allocations: 244.8 kB / 3.111 GB, free: 326.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/6.865, allocations: 0.4999 MB / 3.111 GB, free: 326.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/6.865, allocations: 26.39 kB / 3.111 GB, free: 326.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/6.865, allocations: 385.2 kB / 3.112 GB, free: 326.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/6.865, allocations: 241.7 kB / 3.112 GB, free: 326 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/6.865, allocations: 1.219 kB / 3.112 GB, free: 326 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001029/6.866, allocations: 377.4 kB / 3.112 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/6.866, allocations: 198.6 kB / 3.112 GB, free: 325.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/6.866, allocations: 301.8 kB / 3.113 GB, free: 325.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/6.867, allocations: 251.8 kB / 3.113 GB, free: 325.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/6.867, allocations: 4 kB / 3.113 GB, free: 325.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001416/6.868, allocations: 0.6692 MB / 3.114 GB, free: 325 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/6.868, allocations: 10.33 kB / 3.114 GB, free: 325 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/6.868, allocations: 4.062 kB / 3.114 GB, free: 325 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/6.869, allocations: 77.56 kB / 3.114 GB, free: 325 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/6.869, allocations: 154.3 kB / 3.114 GB, free: 325 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/6.871, allocations: 1.449 MB / 3.115 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/6.872, allocations: 65.45 kB / 3.115 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/6.872, allocations: 26.34 kB / 3.115 GB, free: 323.6 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 (80): * Single equations (assignments): 79 * 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.0002055/6.872, allocations: 119.7 kB / 3.115 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001625/6.874, allocations: 0.6753 MB / 3.116 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/6.874, allocations: 75.06 kB / 3.116 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/6.876, allocations: 0.929 MB / 3.117 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/6.876, allocations: 8.75 kB / 3.117 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/6.876, allocations: 4.953 kB / 3.117 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/6.876, allocations: 3.938 kB / 3.117 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/6.879, allocations: 1.703 MB / 3.119 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/6.879, allocations: 1.125 kB / 3.119 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/6.88, allocations: 151 kB / 3.119 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005101/6.88, allocations: 91.53 kB / 3.119 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/6.88, allocations: 14.84 kB / 3.119 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/6.882, allocations: 1.485 MB / 3.12 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/6.882, allocations: 5.312 kB / 3.12 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/6.883, allocations: 0.8336 MB / 3.121 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/6.883, allocations: 280.9 kB / 3.122 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/6.883, allocations: 2.625 kB / 3.122 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/6.884, allocations: 49.77 kB / 3.122 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/6.884, allocations: 62.97 kB / 3.122 GB, free: 319.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/6.884, allocations: 39.33 kB / 3.122 GB, free: 319.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004585/6.885, allocations: 415 kB / 3.122 GB, free: 319.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/6.885, allocations: 1.031 kB / 3.122 GB, free: 319.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001001/6.886, allocations: 306.6 kB / 3.122 GB, free: 319.5 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.002973/6.889, allocations: 2.319 MB / 3.125 GB, free: 318.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001025/6.89, allocations: 0.6593 MB / 3.125 GB, free: 317.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/6.89, allocations: 3.438 kB / 3.125 GB, free: 317.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005865/6.89, allocations: 460.1 kB / 3.126 GB, free: 317.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/6.891, allocations: 222.9 kB / 3.126 GB, free: 317.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/6.895, allocations: 1.483 MB / 3.127 GB, free: 316.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/6.895, allocations: 1.022 MB / 3.128 GB, free: 315.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008423/6.896, allocations: 246.8 kB / 3.129 GB, free: 315.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/6.897, allocations: 361.7 kB / 3.129 GB, free: 315.4 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/6.897, allocations: 0 / 3.129 GB, free: 315.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04443/6.941, allocations: 23.08 MB / 3.152 GB, free: 296.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/6.941, allocations: 219.8 kB / 3.152 GB, free: 296.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/9.682, allocations: 0 / 3.152 GB, free: 296.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)