Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.0008669/0.0008669, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005293/0.005293, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.415/2.415, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 16.28 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.235, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006743/0.2417, allocations: 6.424 MB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1437/0.3855, allocations: 147.4 MB / 1.209 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.3866, allocations: 19.94 kB / 1.209 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.3874, allocations: 198.4 kB / 1.209 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.3898, allocations: 0.6872 MB / 1.21 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.3918, allocations: 0.8689 MB / 1.211 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.394, allocations: 1.988 MB / 1.213 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.3953, allocations: 0.9673 MB / 1.214 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008252/0.3962, allocations: 0.5792 MB / 1.214 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009624/0.3972, allocations: 0.662 MB / 1.215 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.3974, allocations: 40 kB / 1.215 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009326/0.3984, allocations: 387.6 kB / 1.215 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.3988, allocations: 282.5 kB / 1.215 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008699/0.3996, allocations: 0.7511 MB / 1.216 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.4019, allocations: 2.336 MB / 1.218 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.4019, allocations: 0 / 1.218 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4019, allocations: 0 / 1.218 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.761e-05/0.402, allocations: 0 / 1.218 GB, free: 0.7227 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003412/0.4054, allocations: 1.731 MB / 1.22 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4054, allocations: 11.97 kB / 1.22 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/0.4057, allocations: 220.1 kB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.4066, allocations: 270.6 kB / 1.221 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.4078, allocations: 0.973 MB / 1.222 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.72e-05/0.4079, allocations: 115.1 kB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.4081, allocations: 156 kB / 1.222 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.4105, allocations: 1.584 MB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.4105, allocations: 4 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.4107, allocations: 60 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.4107, allocations: 40 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.4131, allocations: 1.643 MB / 1.225 GB, free: 9.754 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006004/0.4191, allocations: 4.629 MB / 1.23 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.421, allocations: 1.193 MB / 1.231 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007505/0.4218, allocations: 479.7 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.9e-05/0.4219, allocations: 56.98 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.4231, allocations: 0.7857 MB / 1.232 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=128): time 2.324e-06/0.4231, allocations: 0 / 1.232 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128): time 0.00386/0.427, allocations: 1.861 MB / 1.234 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.4271, allocations: 193.2 kB / 1.234 GB, free: 308 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/0.4281, allocations: 0.8616 MB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/0.4282, allocations: 53.7 kB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.4286, allocations: 0.6133 MB / 1.236 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.4288, allocations: 414 kB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.429, allocations: 93.67 kB / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4291, allocations: 349.9 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007616/0.4299, allocations: 434.4 kB / 1.237 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/0.4307, allocations: 0.5643 MB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.4323, allocations: 0.974 MB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4324, allocations: 0 / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002439/0.4348, allocations: 1.301 MB / 1.24 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4348, allocations: 11.98 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4348, allocations: 0 / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/0.4354, allocations: 84.84 kB / 1.24 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.4364, allocations: 259.6 kB / 1.24 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.4383, allocations: 1.555 MB / 1.241 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009652/0.4392, allocations: 176.2 kB / 1.242 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/0.4393, allocations: 47.95 kB / 1.242 GB, free: 8.297 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0004793/0.4398, allocations: 348.4 kB / 1.242 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.44, allocations: 118.6 kB / 1.242 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.4433, allocations: 1.721 MB / 1.244 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4434, allocations: 19.98 kB / 1.244 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4434, allocations: 0 / 1.244 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4434, allocations: 3.984 kB / 1.244 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.4448, allocations: 1.404 MB / 1.245 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4448, allocations: 0 / 1.245 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008556/0.4457, allocations: 219.6 kB / 1.245 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/0.4461, allocations: 84.77 kB / 1.245 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/0.4462, allocations: 39.97 kB / 1.245 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.4479, allocations: 1.575 MB / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4479, allocations: 0 / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.4504, allocations: 1.418 MB / 1.248 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.4509, allocations: 402.9 kB / 1.249 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.451, allocations: 28 kB / 1.249 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009294/0.452, allocations: 123.8 kB / 1.249 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.4522, allocations: 117 kB / 1.249 GB, free: 456 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/0.4523, allocations: 55.97 kB / 1.249 GB, free: 400 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.4637/0.916, allocations: 0.6418 MB / 1.25 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.916, allocations: 0 / 1.25 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001444/0.9175, allocations: 480.1 kB / 1.25 GB, free: 187.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003999/0.9215, allocations: 2.483 MB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.9236, allocations: 1.252 MB / 1.254 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9236, allocations: 0 / 1.254 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.9246, allocations: 0.7415 MB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.9259, allocations: 328.8 kB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.9397, allocations: 10.58 MB / 1.265 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008981/0.9406, allocations: 1.237 MB / 1.266 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001113/0.9417, allocations: 343 kB / 1.267 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007831/0.9425, allocations: 0.6224 MB / 1.267 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.9425, allocations: 5.125 kB / 1.267 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08887/1.031, allocations: 29.23 MB / 1.296 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/1.032, allocations: 301.2 kB / 1.296 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/4.072, allocations: 3.516 kB / 1.296 GB, free: 171.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)