Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.795/1.795, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001991/0.001991, allocations: 176.8 kB / 366.7 MB, free: 1.66 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.2 MB / 0.626 GB, free: 7.18 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.0009658/0.0009659, allocations: 86.89 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.824e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8101, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.338/6.148, allocations: 2.072 GB / 3.045 GB, free: 58.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/6.148, allocations: 91.95 kB / 3.045 GB, free: 57.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1189/6.267, allocations: 57.07 MB / 3.101 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.543e-06/6.267, allocations: 0 / 3.101 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.688e-05/6.267, allocations: 23.94 kB / 3.101 GB, free: 0.7969 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.6662/6.933, allocations: 1.031 MB / 3.102 GB, free: 317.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/6.933, allocations: 10.41 kB / 3.102 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/6.935, allocations: 185.6 kB / 3.102 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/6.936, allocations: 0.5973 MB / 3.103 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-05/6.937, allocations: 30.05 kB / 3.103 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/6.937, allocations: 47.55 kB / 3.103 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001965/6.939, allocations: 0.97 MB / 3.104 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/6.94, allocations: 0.7027 MB / 3.105 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/6.94, allocations: 1.719 kB / 3.105 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/6.94, allocations: 1.406 kB / 3.105 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/6.94, allocations: 20.42 kB / 3.105 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004175/6.944, allocations: 2.222 MB / 3.107 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/6.946, allocations: 0.7151 MB / 3.108 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/6.946, allocations: 239.7 kB / 3.108 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/6.946, allocations: 37.19 kB / 3.108 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006846/6.947, allocations: 388.9 kB / 3.108 GB, free: 316 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/6.947, allocations: 0.5625 kB / 3.108 GB, free: 316 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.001742/6.949, allocations: 0.6439 MB / 3.109 GB, free: 315.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/6.949, allocations: 240.5 kB / 3.109 GB, free: 315.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/6.949, allocations: 0.4924 MB / 3.109 GB, free: 315.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/6.95, allocations: 29.23 kB / 3.11 GB, free: 315.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/6.95, allocations: 366.5 kB / 3.11 GB, free: 315.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/6.95, allocations: 230.6 kB / 3.11 GB, free: 315.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/6.95, allocations: 0 / 3.11 GB, free: 315.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001205/6.95, allocations: 371.8 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/6.951, allocations: 185.9 kB / 3.111 GB, free: 314.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/6.951, allocations: 283.6 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/6.951, allocations: 233.6 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/6.951, allocations: 0 / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001516/6.953, allocations: 0.6485 MB / 3.112 GB, free: 314.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/6.953, allocations: 5.562 kB / 3.112 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/6.953, allocations: 1 kB / 3.112 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/6.954, allocations: 78.98 kB / 3.112 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/6.954, allocations: 142.9 kB / 3.112 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/6.956, allocations: 1.445 MB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/6.956, allocations: 63.45 kB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/6.956, allocations: 29.67 kB / 3.113 GB, free: 313.5 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 (74): * Single equations (assignments): 73 * 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.0001639/6.957, allocations: 118.2 kB / 3.114 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001425/6.958, allocations: 0.6407 MB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/6.958, allocations: 73.78 kB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/6.96, allocations: 0.9236 MB / 3.115 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/6.96, allocations: 9.438 kB / 3.115 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/6.96, allocations: 4.156 kB / 3.115 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/6.96, allocations: 3.469 kB / 3.115 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/6.963, allocations: 1.674 MB / 3.117 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/6.963, allocations: 5.203 kB / 3.117 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/6.964, allocations: 149 kB / 3.117 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/6.964, allocations: 82.08 kB / 3.117 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/6.964, allocations: 15.33 kB / 3.117 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/6.966, allocations: 1.486 MB / 3.119 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/6.966, allocations: 5.297 kB / 3.119 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/6.967, allocations: 0.8222 MB / 3.119 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/6.968, allocations: 279 kB / 3.12 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/6.968, allocations: 2.797 kB / 3.12 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/6.969, allocations: 51.39 kB / 3.12 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/6.969, allocations: 66.84 kB / 3.12 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/6.969, allocations: 27.88 kB / 3.12 GB, free: 311.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005751/6.969, allocations: 403 kB / 3.12 GB, free: 311.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/6.969, allocations: 0 / 3.12 GB, free: 311.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001212/6.971, allocations: 301.2 kB / 3.12 GB, free: 311.1 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 (86): * Single equations (assignments): 83 * 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.003815/6.974, allocations: 2.311 MB / 3.123 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001287/6.976, allocations: 0.6375 MB / 3.123 GB, free: 310.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/6.976, allocations: 0 / 3.123 GB, free: 310.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006999/6.976, allocations: 450.3 kB / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/6.978, allocations: 215.7 kB / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/6.982, allocations: 1.451 MB / 3.125 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/6.982, allocations: 1.018 MB / 3.126 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009046/6.983, allocations: 259.1 kB / 3.127 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/6.984, allocations: 343.6 kB / 3.127 GB, free: 309.1 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/6.984, allocations: 0 / 3.127 GB, free: 309.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05981/7.043, allocations: 22.65 MB / 3.149 GB, free: 307.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/7.044, allocations: 207.1 kB / 3.149 GB, free: 307.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/9.781, allocations: 0 / 3.149 GB, free: 307.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)