Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.677/2.677, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001398/0.001397, allocations: 184.8 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001505/0.001504, allocations: 103.4 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.445e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8377/0.8378, allocations: 115.3 MB / 0.9634 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.163/7.001, allocations: 2.071 GB / 3.034 GB, free: 47.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/7.002, allocations: 84.7 kB / 3.034 GB, free: 47.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8895/7.891, allocations: 61.36 MB / 3.094 GB, free: 319.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.695e-06/7.891, allocations: 0 / 3.094 GB, free: 319.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001021/7.891, allocations: 22.06 kB / 3.094 GB, free: 319.7 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.002664/7.894, allocations: 1.036 MB / 3.095 GB, free: 319.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/7.894, allocations: 10.72 kB / 3.095 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/7.896, allocations: 183.7 kB / 3.095 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/7.898, allocations: 0.607 MB / 3.096 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/7.898, allocations: 23.53 kB / 3.096 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/7.898, allocations: 45.95 kB / 3.096 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00265/7.9, allocations: 0.9647 MB / 3.097 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/7.902, allocations: 0.7101 MB / 3.098 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/7.903, allocations: 1.625 kB / 3.098 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/7.903, allocations: 1.125 kB / 3.098 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/7.903, allocations: 21.56 kB / 3.098 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00621/7.909, allocations: 2.229 MB / 3.1 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/7.911, allocations: 0.652 MB / 3.101 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/7.912, allocations: 235.3 kB / 3.101 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/7.912, allocations: 30.92 kB / 3.101 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009487/7.913, allocations: 387.6 kB / 3.101 GB, free: 317.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.477e-06/7.913, allocations: 0 / 3.101 GB, free: 317.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002723/7.916, allocations: 0.6368 MB / 3.102 GB, free: 317.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/7.916, allocations: 244.7 kB / 3.102 GB, free: 317.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/7.917, allocations: 0.4888 MB / 3.102 GB, free: 317.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/7.917, allocations: 26.64 kB / 3.103 GB, free: 317.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/7.918, allocations: 370.7 kB / 3.103 GB, free: 317.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/7.918, allocations: 222.5 kB / 3.103 GB, free: 317.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/7.918, allocations: 0 / 3.103 GB, free: 317.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000153/7.918, allocations: 385.1 kB / 3.103 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/7.919, allocations: 185.5 kB / 3.104 GB, free: 316.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/7.919, allocations: 292.2 kB / 3.104 GB, free: 316.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/7.92, allocations: 230.6 kB / 3.104 GB, free: 316.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/7.92, allocations: 8.844 kB / 3.104 GB, free: 316.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002287/7.922, allocations: 0.6407 MB / 3.105 GB, free: 316.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/7.922, allocations: 7.281 kB / 3.105 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/7.922, allocations: 3.781 kB / 3.105 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009591/7.923, allocations: 84.08 kB / 3.105 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/7.924, allocations: 132.3 kB / 3.105 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/7.927, allocations: 1.461 MB / 3.106 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/7.928, allocations: 61.16 kB / 3.106 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/7.928, allocations: 32.81 kB / 3.106 GB, free: 315.3 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.0002562/7.928, allocations: 126.4 kB / 3.107 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002584/7.931, allocations: 0.6375 MB / 3.107 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/7.931, allocations: 75.59 kB / 3.107 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003501/7.935, allocations: 0.8906 MB / 3.108 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/7.935, allocations: 16.86 kB / 3.108 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/7.935, allocations: 1.094 kB / 3.108 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/7.935, allocations: 4.125 kB / 3.108 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/7.936, allocations: 0.7366 MB / 3.109 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/7.937, allocations: 0 / 3.109 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/7.938, allocations: 142.2 kB / 3.109 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008733/7.939, allocations: 85.94 kB / 3.109 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-05/7.939, allocations: 16.61 kB / 3.109 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/7.941, allocations: 1.491 MB / 3.111 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/7.941, allocations: 0 / 3.111 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/7.944, allocations: 0.7482 MB / 3.111 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/7.945, allocations: 273.8 kB / 3.112 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/7.945, allocations: 5.297 kB / 3.112 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/7.946, allocations: 50.05 kB / 3.112 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/7.946, allocations: 60.02 kB / 3.112 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-05/7.946, allocations: 30.77 kB / 3.112 GB, free: 313.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007935/7.947, allocations: 402.1 kB / 3.112 GB, free: 313.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.963e-06/7.947, allocations: 0 / 3.112 GB, free: 313.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001575/7.948, allocations: 296.5 kB / 3.112 GB, free: 313.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.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.005337/7.954, allocations: 2.225 MB / 3.115 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002081/7.956, allocations: 0.6387 MB / 3.115 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/7.956, allocations: 2.75 kB / 3.115 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/7.957, allocations: 440.2 kB / 3.116 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/7.959, allocations: 216.4 kB / 3.116 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/7.965, allocations: 1.435 MB / 3.117 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007783/7.966, allocations: 1.011 MB / 3.118 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001641/7.968, allocations: 251.6 kB / 3.118 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008175/7.969, allocations: 345.6 kB / 3.119 GB, free: 311.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/7.969, allocations: 0 / 3.119 GB, free: 311.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/8.072, allocations: 22.63 MB / 3.141 GB, free: 309.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/8.072, allocations: 191.2 kB / 3.141 GB, free: 309.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/11.77, allocations: 3.094 kB / 3.141 GB, free: 309.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)