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.001216/0.001216, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001242/0.001242, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 65.73 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2414, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007304/0.2488, allocations: 6.889 MB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1316/0.3804, allocations: 149 MB / 1.204 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009834/0.3814, allocations: 23.88 kB / 1.204 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007674/0.3822, allocations: 194.4 kB / 1.205 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.3843, allocations: 0.6869 MB / 1.205 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.3862, allocations: 0.8723 MB / 1.206 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.3881, allocations: 2 MB / 1.208 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.3893, allocations: 0.9907 MB / 1.209 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.3902, allocations: 0.7276 MB / 1.21 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009179/0.3911, allocations: 0.8556 MB / 1.211 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.3913, allocations: 112 kB / 1.211 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.3921, allocations: 463.6 kB / 1.211 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.3924, allocations: 394.4 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.3931, allocations: 0.8626 MB / 1.212 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.3948, allocations: 2.438 MB / 1.215 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3948, allocations: 3.938 kB / 1.215 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3948, allocations: 0 / 1.215 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.3948, allocations: 0 / 1.215 GB, free: 1.117 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.003379/0.3982, allocations: 2.054 MB / 1.217 GB, free: 15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3983, allocations: 15.91 kB / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.3985, allocations: 228 kB / 1.217 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.3994, allocations: 258.6 kB / 1.217 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.4005, allocations: 0.9769 MB / 1.218 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-05/0.4006, allocations: 111.1 kB / 1.218 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.4008, allocations: 148 kB / 1.218 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.4031, allocations: 1.592 MB / 1.22 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.4031, allocations: 4 kB / 1.22 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.4032, allocations: 64 kB / 1.22 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.4032, allocations: 36 kB / 1.22 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.4056, allocations: 1.639 MB / 1.222 GB, free: 9.828 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.005659/0.4113, allocations: 4.571 MB / 1.226 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.4131, allocations: 1.193 MB / 1.227 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.4139, allocations: 483.7 kB / 1.228 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.878e-05/0.414, allocations: 45 kB / 1.228 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/0.4151, allocations: 0.7745 MB / 1.229 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=128): time 2.224e-06/0.4151, allocations: 0 / 1.229 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128): time 0.00383/0.419, allocations: 1.846 MB / 1.23 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.4191, allocations: 197.2 kB / 1.231 GB, free: 472 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009047/0.42, allocations: 0.8654 MB / 1.231 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.127e-05/0.4201, allocations: 53.7 kB / 1.231 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.4204, allocations: 0.6132 MB / 1.232 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.4207, allocations: 406.1 kB / 1.232 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.421, allocations: 238.8 kB / 1.233 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4212, allocations: 349.9 kB / 1.233 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007524/0.4219, allocations: 438.4 kB / 1.233 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/0.4228, allocations: 0.5604 MB / 1.234 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.4245, allocations: 0.9623 MB / 1.235 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.4245, allocations: 4 kB / 1.235 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002444/0.4269, allocations: 1.293 MB / 1.236 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4269, allocations: 4 kB / 1.236 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.427, allocations: 3.938 kB / 1.236 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/0.4275, allocations: 92.81 kB / 1.236 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009883/0.4285, allocations: 255.6 kB / 1.237 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.4303, allocations: 1.539 MB / 1.238 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009382/0.4312, allocations: 154.8 kB / 1.238 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.4313, allocations: 51.95 kB / 1.238 GB, free: 8.367 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.0004634/0.4318, allocations: 352.3 kB / 1.239 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.432, allocations: 118.5 kB / 1.239 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.4353, allocations: 1.706 MB / 1.24 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.4354, allocations: 16 kB / 1.24 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4354, allocations: 0 / 1.24 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.4354, allocations: 11.97 kB / 1.24 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.4367, allocations: 1.408 MB / 1.242 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4368, allocations: 7.938 kB / 1.242 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.4376, allocations: 219.6 kB / 1.242 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000471/0.4381, allocations: 84.77 kB / 1.242 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.68e-05/0.4382, allocations: 39.97 kB / 1.242 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.4398, allocations: 1.552 MB / 1.244 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4398, allocations: 0 / 1.244 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.4422, allocations: 1.418 MB / 1.245 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.4427, allocations: 371.2 kB / 1.245 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.4429, allocations: 35.89 kB / 1.245 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000878/0.4437, allocations: 99.75 kB / 1.245 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.4439, allocations: 117.1 kB / 1.246 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/0.444, allocations: 55.95 kB / 1.246 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.348/0.7921, allocations: 0.643 MB / 1.246 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.01e-07/0.7921, allocations: 0 / 1.246 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001325/0.7934, allocations: 476.8 kB / 1.247 GB, free: 191.1 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.003753/0.7972, allocations: 2.478 MB / 1.249 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.7991, allocations: 1.242 MB / 1.25 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7992, allocations: 3.828 kB / 1.25 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009728/0.8001, allocations: 0.7404 MB / 1.251 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.8012, allocations: 326.9 kB / 1.251 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.8138, allocations: 10.53 MB / 1.262 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.8145, allocations: 1.237 MB / 1.263 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001025/0.8155, allocations: 334.8 kB / 1.263 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/0.8163, allocations: 0.6276 MB / 1.264 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.8163, allocations: 0 / 1.264 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.107/3.924, allocations: 29.64 MB / 1.293 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/3.924, allocations: 301.9 kB / 1.293 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/6.34, allocations: 0 / 1.293 GB, free: 174.4 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)