Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.001045/0.001045, allocations: 178.9 kB / 371.8 MB, free: 10.29 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.505/1.505, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0008585/0.0008584, allocations: 92.47 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.000438, allocations: 18.83 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.233, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004993/0.2381, allocations: 3.433 MB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7568/0.9949, allocations: 127.2 MB / 1.107 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000829/0.9958, allocations: 23.89 kB / 1.107 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.9962, allocations: 66.42 kB / 1.107 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.9977, allocations: 412.3 kB / 1.107 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.9997, allocations: 0.5826 MB / 1.108 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00139/1.001, allocations: 0.7297 MB / 1.109 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008223/1.002, allocations: 450.3 kB / 1.109 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006449/1.003, allocations: 292 kB / 1.109 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/1.003, allocations: 282.4 kB / 1.11 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/1.003, allocations: 19.38 kB / 1.11 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008795/1.004, allocations: 246.3 kB / 1.11 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/1.004, allocations: 159.2 kB / 1.11 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002843/1.004, allocations: 179.8 kB / 1.11 GB, free: 17.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/1.006, allocations: 1.023 MB / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.006, allocations: 0 / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/1.006, allocations: 1.188 kB / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.528e-05/1.006, allocations: 0 / 1.111 GB, free: 17.8 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002687/1.009, allocations: 1.102 MB / 1.112 GB, free: 17.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/1.009, allocations: 13.3 kB / 1.112 GB, free: 17.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002506/1.009, allocations: 126.2 kB / 1.113 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/1.01, allocations: 186.2 kB / 1.113 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/1.012, allocations: 0.669 MB / 1.113 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/1.012, allocations: 62.62 kB / 1.113 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/1.012, allocations: 71.66 kB / 1.113 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/1.014, allocations: 0.8355 MB / 1.114 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/1.014, allocations: 0 / 1.114 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/1.014, allocations: 35.05 kB / 1.114 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/1.014, allocations: 18.56 kB / 1.114 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/1.016, allocations: 1.058 MB / 1.115 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/1.02, allocations: 2.381 MB / 1.118 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/1.021, allocations: 0.7261 MB / 1.118 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.788e-05/1.021, allocations: 28.8 kB / 1.118 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008048/1.022, allocations: 428.5 kB / 1.119 GB, free: 15.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.385e-06/1.022, allocations: 0 / 1.119 GB, free: 15.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.003106/1.025, allocations: 1.085 MB / 1.12 GB, free: 15.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.026, allocations: 193.5 kB / 1.12 GB, free: 15.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/1.026, allocations: 0.5507 MB / 1.121 GB, free: 15.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.112e-05/1.026, allocations: 43.73 kB / 1.121 GB, free: 15.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/1.027, allocations: 373.5 kB / 1.121 GB, free: 14.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/1.027, allocations: 231.1 kB / 1.121 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/1.027, allocations: 13.56 kB / 1.121 GB, free: 14.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.027, allocations: 378.2 kB / 1.122 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/1.028, allocations: 213.5 kB / 1.122 GB, free: 14.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/1.028, allocations: 320.2 kB / 1.122 GB, free: 14.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/1.029, allocations: 267.8 kB / 1.122 GB, free: 14.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.029, allocations: 3.938 kB / 1.122 GB, free: 14.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001656/1.03, allocations: 0.7218 MB / 1.123 GB, free: 14.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.03, allocations: 6.812 kB / 1.123 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.03, allocations: 2.531 kB / 1.123 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/1.031, allocations: 80.92 kB / 1.123 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/1.032, allocations: 140.7 kB / 1.123 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/1.034, allocations: 1.547 MB / 1.125 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/1.034, allocations: 82.31 kB / 1.125 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/1.034, allocations: 24.78 kB / 1.125 GB, free: 12.83 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 (73): * Single equations (assignments): 72 * 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.0005516/1.035, allocations: 249 kB / 1.125 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/1.035, allocations: 77.97 kB / 1.125 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.037, allocations: 0.9927 MB / 1.126 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.037, allocations: 6.219 kB / 1.126 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/1.037, allocations: 3.938 kB / 1.126 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/1.037, allocations: 4.312 kB / 1.126 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/1.039, allocations: 0.8515 MB / 1.127 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.039, allocations: 0 / 1.127 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/1.039, allocations: 134.9 kB / 1.127 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005306/1.04, allocations: 92.64 kB / 1.127 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/1.04, allocations: 28.14 kB / 1.127 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/1.042, allocations: 1.568 MB / 1.129 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.042, allocations: 0 / 1.129 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/1.043, allocations: 0.8367 MB / 1.13 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/1.044, allocations: 273.1 kB / 1.13 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/1.044, allocations: 16.78 kB / 1.13 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/1.045, allocations: 68.59 kB / 1.13 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/1.045, allocations: 66.69 kB / 1.13 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/1.045, allocations: 25.7 kB / 1.13 GB, free: 10.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006255/1.045, allocations: 420.6 kB / 1.13 GB, free: 10.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.045, allocations: 0 / 1.13 GB, free: 10.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008571/1.046, allocations: 255.2 kB / 1.131 GB, free: 9.992 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * 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.003238/1.049, allocations: 1.832 MB / 1.133 GB, free: 9.051 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001696/1.051, allocations: 0.7217 MB / 1.133 GB, free: 8.832 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.051, allocations: 1.188 kB / 1.133 GB, free: 8.832 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008815/1.052, allocations: 490.3 kB / 1.134 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.053, allocations: 240.4 kB / 1.134 GB, free: 8.578 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.065, allocations: 4.982 MB / 1.139 GB, free: 6.156 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008611/1.065, allocations: 1.009 MB / 1.14 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001148/1.067, allocations: 248.5 kB / 1.14 GB, free: 5.203 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/1.067, allocations: 341 kB / 1.14 GB, free: 5.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/1.067, allocations: 0 / 1.14 GB, free: 5.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04798/1.115, allocations: 19.34 MB / 1.159 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/1.115, allocations: 273.4 kB / 1.159 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.804, allocations: 0 / 1.159 GB, free: 11.47 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)