Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.001449/0.001449, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.401/2.401, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 60.86 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2335, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006072/0.2396, allocations: 4.984 MB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1391/0.3787, allocations: 150.8 MB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000869/0.3796, allocations: 19.88 kB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007283/0.3804, allocations: 194.2 kB / 1.205 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.3822, allocations: 0.5735 MB / 1.206 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.384, allocations: 0.8509 MB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.3855, allocations: 1.436 MB / 1.208 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008255/0.3863, allocations: 0.5949 MB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.3869, allocations: 0.506 MB / 1.209 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006788/0.3876, allocations: 0.529 MB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.3879, allocations: 123.9 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007808/0.3886, allocations: 459.7 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.3889, allocations: 310.9 kB / 1.21 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005534/0.3895, allocations: 0.5908 MB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.3911, allocations: 1.647 MB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3911, allocations: 0 / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3911, allocations: 0 / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.316e-05/0.3912, allocations: 0 / 1.213 GB, free: 4.023 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002465/0.3936, allocations: 1.477 MB / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3937, allocations: 8.625 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.3938, allocations: 143.7 kB / 1.214 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008433/0.3947, allocations: 187.3 kB / 1.214 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.3956, allocations: 0.7661 MB / 1.215 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.3956, allocations: 69.98 kB / 1.215 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.3957, allocations: 84 kB / 1.215 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.3971, allocations: 0.9651 MB / 1.216 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3972, allocations: 8 kB / 1.216 GB, free: 184 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.3973, allocations: 39.98 kB / 1.216 GB, free: 144 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3973, allocations: 20 kB / 1.216 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.3989, allocations: 1.151 MB / 1.217 GB, free: 14.97 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.003665/0.4026, allocations: 2.888 MB / 1.22 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.404, allocations: 0.8562 MB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.4046, allocations: 322.7 kB / 1.221 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-05/0.4047, allocations: 32.69 kB / 1.221 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008402/0.4055, allocations: 0.5315 MB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.244e-06/0.4055, allocations: 4 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003076/0.4086, allocations: 1.298 MB / 1.223 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/0.4087, allocations: 192.9 kB / 1.223 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/0.4094, allocations: 0.6528 MB / 1.224 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.4095, allocations: 41.7 kB / 1.224 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.4097, allocations: 412.4 kB / 1.224 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.4099, allocations: 283.9 kB / 1.225 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.4101, allocations: 154.5 kB / 1.225 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4103, allocations: 394.7 kB / 1.225 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.4108, allocations: 265.9 kB / 1.226 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.4114, allocations: 390.5 kB / 1.226 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.4124, allocations: 0.6398 MB / 1.227 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4125, allocations: 0 / 1.227 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001811/0.4143, allocations: 0.8682 MB / 1.227 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4143, allocations: 8 kB / 1.227 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4143, allocations: 0 / 1.227 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.4149, allocations: 84.83 kB / 1.227 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.4156, allocations: 167.8 kB / 1.228 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.4174, allocations: 1.635 MB / 1.229 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.4181, allocations: 103.2 kB / 1.229 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.4182, allocations: 35.97 kB / 1.229 GB, free: 2.32 MB / 0.9825 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 (97): * Single equations (assignments): 96 * 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.0003495/0.4185, allocations: 267.2 kB / 1.23 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.4187, allocations: 86.97 kB / 1.23 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.4211, allocations: 1.167 MB / 1.231 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.4211, allocations: 16 kB / 1.231 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.4211, allocations: 0 / 1.231 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4211, allocations: 7.969 kB / 1.231 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009321/0.422, allocations: 0.9424 MB / 1.232 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4221, allocations: 0 / 1.232 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.4226, allocations: 155.7 kB / 1.232 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/0.4231, allocations: 80.66 kB / 1.232 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.4231, allocations: 31.98 kB / 1.232 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.4249, allocations: 1.65 MB / 1.234 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4249, allocations: 0 / 1.234 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.4268, allocations: 1.002 MB / 1.235 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.4271, allocations: 279.7 kB / 1.235 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.4272, allocations: 31.83 kB / 1.235 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.4279, allocations: 66.33 kB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.428, allocations: 77.03 kB / 1.235 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.4281, allocations: 43.95 kB / 1.235 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005159/0.4286, allocations: 483 kB / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4286, allocations: 0 / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007135/0.4294, allocations: 335.3 kB / 1.236 GB, free: 11.38 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: 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.003272/0.4326, allocations: 2.051 MB / 1.238 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.4349, allocations: 1.077 MB / 1.239 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4349, allocations: 4 kB / 1.239 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008991/0.4359, allocations: 0.5471 MB / 1.239 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.437, allocations: 298.3 kB / 1.24 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00932/0.4463, allocations: 6.756 MB / 1.246 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3761/0.8224, allocations: 1.036 MB / 1.247 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009676/0.8234, allocations: 270.7 kB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/0.824, allocations: 412.4 kB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.824, allocations: 0.8125 kB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6397/1.464, allocations: 22.5 MB / 1.27 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.81, allocations: 7.359 kB / 1.27 GB, free: 187.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)