Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 192.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.062/2.062, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 71.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4718, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004164/0.476, allocations: 4.425 MB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1237/0.5997, allocations: 148.4 MB / 1.098 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.6004, allocations: 23.88 kB / 1.098 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.6009, allocations: 134.9 kB / 1.099 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.6025, allocations: 461.5 kB / 1.099 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.6041, allocations: 0.7572 MB / 1.1 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.6053, allocations: 1.339 MB / 1.101 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.6061, allocations: 0.6235 MB / 1.102 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.6066, allocations: 0.4943 MB / 1.102 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.6072, allocations: 0.5095 MB / 1.103 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.6073, allocations: 116 kB / 1.103 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.608, allocations: 459.6 kB / 1.103 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.6082, allocations: 311 kB / 1.104 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.6086, allocations: 0.5557 MB / 1.104 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.61, allocations: 1.593 MB / 1.106 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.61, allocations: 4 kB / 1.106 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.365e-06/0.61, allocations: 4 kB / 1.106 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.61, allocations: 3.938 kB / 1.106 GB, free: 1.305 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002428/0.6125, allocations: 1.44 MB / 1.107 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.6125, allocations: 12.03 kB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.6127, allocations: 139.5 kB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008403/0.6135, allocations: 191.3 kB / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008761/0.6144, allocations: 0.7583 MB / 1.108 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.6145, allocations: 66 kB / 1.108 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/0.6146, allocations: 84 kB / 1.108 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.616, allocations: 0.9417 MB / 1.109 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.616, allocations: 0 / 1.109 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.6161, allocations: 36 kB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.6161, allocations: 24 kB / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.6177, allocations: 1.124 MB / 1.11 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.621, allocations: 2.539 MB / 1.113 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.6224, allocations: 0.9071 MB / 1.114 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.6229, allocations: 318.6 kB / 1.114 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.623, allocations: 24.69 kB / 1.114 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008221/0.6238, allocations: 0.5158 MB / 1.115 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.064e-06/0.6238, allocations: 0 / 1.115 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.002848/0.6267, allocations: 1.251 MB / 1.116 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.6267, allocations: 188.9 kB / 1.116 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/0.6274, allocations: 0.6411 MB / 1.117 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/0.6275, allocations: 41.7 kB / 1.117 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.6277, allocations: 408.3 kB / 1.117 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.6279, allocations: 260.2 kB / 1.117 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.6281, allocations: 154.5 kB / 1.117 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6283, allocations: 390.8 kB / 1.118 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.6287, allocations: 253.9 kB / 1.118 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.6293, allocations: 374.4 kB / 1.118 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009757/0.6303, allocations: 0.6047 MB / 1.119 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6303, allocations: 8 kB / 1.119 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00176/0.632, allocations: 0.833 MB / 1.12 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6321, allocations: 9.812 kB / 1.12 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6321, allocations: 96 / 1.12 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/0.6327, allocations: 80.78 kB / 1.12 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.6333, allocations: 163.7 kB / 1.12 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.6351, allocations: 1.619 MB / 1.122 GB, free: 412 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/0.6357, allocations: 95.44 kB / 1.122 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.6358, allocations: 35.97 kB / 1.122 GB, free: 280 kB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003168/0.6361, allocations: 277.5 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.6362, allocations: 82.97 kB / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.6385, allocations: 1.144 MB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6385, allocations: 8 kB / 1.123 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.6386, allocations: 0 / 1.123 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6386, allocations: 7.984 kB / 1.123 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.6414, allocations: 2.017 MB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6414, allocations: 0 / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.642, allocations: 167.7 kB / 1.125 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.6425, allocations: 64.8 kB / 1.125 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/0.6425, allocations: 27.97 kB / 1.125 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.6441, allocations: 1.658 MB / 1.127 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6442, allocations: 8.047 kB / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.646, allocations: 1.043 MB / 1.128 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.6463, allocations: 279.7 kB / 1.128 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.6464, allocations: 23.98 kB / 1.128 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.6471, allocations: 59.94 kB / 1.128 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.6472, allocations: 80.89 kB / 1.128 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.92e-05/0.6473, allocations: 39.97 kB / 1.128 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004744/0.6478, allocations: 467 kB / 1.129 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6478, allocations: 0 / 1.129 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006702/0.6485, allocations: 319.1 kB / 1.129 GB, free: 8.27 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003153/0.6516, allocations: 2.106 MB / 1.131 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.6537, allocations: 1.042 MB / 1.132 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6537, allocations: 4 kB / 1.132 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000842/0.6546, allocations: 0.5394 MB / 1.133 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.6557, allocations: 302.5 kB / 1.133 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6667, allocations: 7.112 MB / 1.14 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.6672, allocations: 1.032 MB / 1.141 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007457/0.6679, allocations: 270.8 kB / 1.141 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/0.6684, allocations: 407.3 kB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.6684, allocations: 0 / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.753/4.421, allocations: 21.42 MB / 1.163 GB, free: 6.391 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/4.421, allocations: 318.6 kB / 1.163 GB, free: 6 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/6.579, allocations: 3.656 kB / 1.163 GB, free: 6 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)