Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.2 MB / 303.2 MB, free: 8.242 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.001075/0.001075, allocations: 173.7 kB / 371.8 MB, free: 10.3 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.664/1.664, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008151/0.0008152, allocations: 98.86 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 11.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2492, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.003998/0.2532, allocations: 3.468 MB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.705/0.9582, allocations: 127.2 MB / 1.107 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007859/0.9591, allocations: 17.84 kB / 1.107 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.9595, allocations: 69.28 kB / 1.107 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.961, allocations: 431 kB / 1.108 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.963, allocations: 0.5878 MB / 1.108 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.9642, allocations: 0.733 MB / 1.109 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.965, allocations: 446.5 kB / 1.109 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/0.9656, allocations: 307.7 kB / 1.11 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.966, allocations: 286.6 kB / 1.11 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-05/0.9661, allocations: 20.16 kB / 1.11 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007667/0.9669, allocations: 252.4 kB / 1.11 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.967, allocations: 154.2 kB / 1.11 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.9673, allocations: 178.5 kB / 1.11 GB, free: 17.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.9688, allocations: 1.012 MB / 1.111 GB, free: 17.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.9688, allocations: 1.125 kB / 1.111 GB, free: 17.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9688, allocations: 0 / 1.111 GB, free: 17.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.9688, allocations: 4 kB / 1.111 GB, free: 17.79 MB / 0.698 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.002188/0.971, allocations: 1.109 MB / 1.112 GB, free: 17.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.9711, allocations: 10.38 kB / 1.113 GB, free: 17.08 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.9713, allocations: 128.6 kB / 1.113 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.9722, allocations: 189 kB / 1.113 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.9733, allocations: 0.6715 MB / 1.113 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.9734, allocations: 59.22 kB / 1.114 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.9735, allocations: 76.48 kB / 1.114 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.9751, allocations: 0.8366 MB / 1.114 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.9751, allocations: 4 kB / 1.114 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-05/0.9752, allocations: 38.23 kB / 1.114 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.9752, allocations: 19.84 kB / 1.114 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.9772, allocations: 1.05 MB / 1.115 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.9816, allocations: 2.379 MB / 1.118 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.983, allocations: 0.7991 MB / 1.119 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/0.9831, allocations: 29.2 kB / 1.119 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/0.984, allocations: 434.1 kB / 1.119 GB, free: 15.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/0.984, allocations: 0 / 1.119 GB, free: 15.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002866/0.9869, allocations: 1.076 MB / 1.12 GB, free: 15.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.987, allocations: 190.1 kB / 1.12 GB, free: 15.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/0.9878, allocations: 0.5675 MB / 1.121 GB, free: 14.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.9879, allocations: 37.23 kB / 1.121 GB, free: 14.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.9882, allocations: 376.2 kB / 1.121 GB, free: 14.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.9884, allocations: 240 kB / 1.121 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.9884, allocations: 11.59 kB / 1.121 GB, free: 14.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.9886, allocations: 375.4 kB / 1.122 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.989, allocations: 215.1 kB / 1.122 GB, free: 14.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.9895, allocations: 317.9 kB / 1.122 GB, free: 14.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.99, allocations: 266.3 kB / 1.123 GB, free: 14.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.99, allocations: 0 / 1.123 GB, free: 14.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001611/0.9916, allocations: 0.7224 MB / 1.123 GB, free: 14.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.9917, allocations: 7.406 kB / 1.123 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9917, allocations: 3.938 kB / 1.123 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.9923, allocations: 83.89 kB / 1.123 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.9928, allocations: 141.3 kB / 1.124 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.995, allocations: 1.519 MB / 1.125 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/0.9957, allocations: 83.31 kB / 1.125 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.9958, allocations: 30.02 kB / 1.125 GB, free: 12.7 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0005169/0.9963, allocations: 247.2 kB / 1.125 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.9964, allocations: 79 kB / 1.125 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.9986, allocations: 1.03 MB / 1.126 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.9986, allocations: 9.188 kB / 1.126 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.9987, allocations: 0 / 1.126 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.9987, allocations: 4.312 kB / 1.126 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/1.002, allocations: 1.855 MB / 1.128 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.002, allocations: 5.547 kB / 1.128 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/1.002, allocations: 149.8 kB / 1.128 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005104/1.003, allocations: 85.17 kB / 1.128 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/1.003, allocations: 26.33 kB / 1.128 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.005, allocations: 1.551 MB / 1.13 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.005, allocations: 3.219 kB / 1.13 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.007, allocations: 0.9191 MB / 1.131 GB, free: 9.957 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/1.007, allocations: 268.7 kB / 1.131 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.007, allocations: 19.69 kB / 1.131 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/1.008, allocations: 73.67 kB / 1.131 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.008, allocations: 55.86 kB / 1.131 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/1.008, allocations: 34.44 kB / 1.131 GB, free: 9.711 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006564/1.009, allocations: 419.7 kB / 1.132 GB, free: 9.562 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.009, allocations: 1.75 kB / 1.132 GB, free: 9.562 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009747/1.01, allocations: 256.3 kB / 1.132 GB, free: 9.516 MB / 0.698 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) * Number of clocked states: 0 () * 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.003392/1.013, allocations: 1.923 MB / 1.134 GB, free: 8.496 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.015, allocations: 0.7199 MB / 1.135 GB, free: 8.281 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.015, allocations: 1.406 kB / 1.135 GB, free: 8.281 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009062/1.016, allocations: 0.4905 MB / 1.135 GB, free: 8.094 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/1.017, allocations: 235.9 kB / 1.135 GB, free: 8.023 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.028, allocations: 5.008 MB / 1.14 GB, free: 5.574 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007363/1.028, allocations: 1.021 MB / 1.141 GB, free: 4.734 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00106/1.029, allocations: 247.6 kB / 1.141 GB, free: 4.617 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/1.03, allocations: 350.1 kB / 1.142 GB, free: 4.566 MB / 0.698 GB Notification: Performance of SimCode: time 2.335e-06/1.03, allocations: 1.062 kB / 1.142 GB, free: 4.566 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04552/1.075, allocations: 19.4 MB / 1.161 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/1.076, allocations: 290.1 kB / 1.161 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.857, allocations: 2.75 kB / 1.161 GB, free: 10.95 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)