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.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.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.001441/0.001441, allocations: 108 kB / 15.61 MB, free: 148 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.001332/0.001332, allocations: 197.6 kB / 16.53 MB, free: 6.699 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.493/2.493, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.23 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2454, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008742/0.2542, allocations: 6.925 MB / 1.06 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1391/0.3933, allocations: 151.3 MB / 1.207 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.3945, allocations: 19.88 kB / 1.207 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009901/0.3956, allocations: 257.4 kB / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.3985, allocations: 0.8062 MB / 1.208 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.4009, allocations: 0.9859 MB / 1.209 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.4033, allocations: 2.121 MB / 1.211 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.4047, allocations: 1.03 MB / 1.212 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.4058, allocations: 0.8369 MB / 1.213 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.4069, allocations: 0.9045 MB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.4073, allocations: 208 kB / 1.214 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.4084, allocations: 0.5348 MB / 1.215 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004501/0.4088, allocations: 490.4 kB / 1.215 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009845/0.4098, allocations: 0.9486 MB / 1.216 GB, free: 288 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0027/0.4125, allocations: 2.523 MB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4125, allocations: 0 / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4126, allocations: 0 / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.044e-05/0.4126, allocations: 4 kB / 1.219 GB, free: 13.75 MB / 0.9825 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.004043/0.4167, allocations: 2.062 MB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4167, allocations: 8.625 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002328/0.417, allocations: 232 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009549/0.4179, allocations: 250.6 kB / 1.221 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.4191, allocations: 0.973 MB / 1.222 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.4192, allocations: 123 kB / 1.222 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.4194, allocations: 148 kB / 1.222 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.4216, allocations: 1.58 MB / 1.224 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.4216, allocations: 3.984 kB / 1.224 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.4218, allocations: 67.98 kB / 1.224 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.4218, allocations: 36 kB / 1.224 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.4242, allocations: 1.635 MB / 1.226 GB, free: 6.465 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.005787/0.43, allocations: 4.571 MB / 1.23 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.4319, allocations: 1.196 MB / 1.231 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007329/0.4326, allocations: 483.6 kB / 1.232 GB, free: 32 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.4328, allocations: 49.08 kB / 1.232 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.4339, allocations: 0.7782 MB / 1.233 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 2.826e-06/0.4339, allocations: 4 kB / 1.233 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004022/0.438, allocations: 1.846 MB / 1.234 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.4381, allocations: 197.2 kB / 1.235 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.439, allocations: 0.8653 MB / 1.235 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-05/0.4391, allocations: 49.7 kB / 1.235 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.4395, allocations: 0.6133 MB / 1.236 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.4398, allocations: 406.1 kB / 1.236 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.4401, allocations: 238.8 kB / 1.237 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4402, allocations: 349.9 kB / 1.237 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.441, allocations: 434.4 kB / 1.237 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/0.4419, allocations: 0.5565 MB / 1.238 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.4435, allocations: 0.9662 MB / 1.239 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4435, allocations: 0 / 1.239 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002798/0.4463, allocations: 1.297 MB / 1.24 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4463, allocations: 4 kB / 1.24 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4463, allocations: 4 kB / 1.24 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.4469, allocations: 84.83 kB / 1.24 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.448, allocations: 251.6 kB / 1.241 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.45, allocations: 1.654 MB / 1.242 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/0.451, allocations: 142.9 kB / 1.242 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.677e-05/0.4511, allocations: 55.95 kB / 1.242 GB, free: 4.891 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.0005518/0.4517, allocations: 349.8 kB / 1.243 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.4519, allocations: 118.5 kB / 1.243 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/0.4554, allocations: 1.709 MB / 1.244 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.4554, allocations: 16 kB / 1.244 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4554, allocations: 0 / 1.244 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.4554, allocations: 7.969 kB / 1.244 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.457, allocations: 1.408 MB / 1.246 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.457, allocations: 3.984 kB / 1.246 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008619/0.4579, allocations: 223.6 kB / 1.246 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004357/0.4583, allocations: 72.78 kB / 1.246 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-05/0.4584, allocations: 35.97 kB / 1.246 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4365/0.8949, allocations: 1.674 MB / 1.248 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8949, allocations: 2.531 kB / 1.248 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.8978, allocations: 1.41 MB / 1.249 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.8983, allocations: 373.4 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.8985, allocations: 37.64 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009023/0.8994, allocations: 84.64 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.8997, allocations: 116.8 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/0.8998, allocations: 58.11 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007768/0.9005, allocations: 0.6483 MB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9005, allocations: 0.8125 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009929/0.9015, allocations: 490 kB / 1.251 GB, free: 191 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.003564/0.9051, allocations: 2.482 MB / 1.253 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003366/0.9085, allocations: 1.556 MB / 1.255 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.9085, allocations: 0 / 1.255 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.9096, allocations: 0.7393 MB / 1.256 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.9109, allocations: 358 kB / 1.256 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.9246, allocations: 9.871 MB / 1.266 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/0.9254, allocations: 1.236 MB / 1.267 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001201/0.9266, allocations: 326.3 kB / 1.267 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008101/0.9275, allocations: 0.6344 MB / 1.268 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.9275, allocations: 0.5625 kB / 1.268 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05255/0.98, allocations: 30.81 MB / 1.298 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/17.82, allocations: 6.125 kB / 1.298 GB, free: 171.6 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)