Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.0008657/0.0008657, allocations: 91.3 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.005395/0.005395, allocations: 171.1 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.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.366/2.366, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003125, allocations: 12.72 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004409/0.2432, allocations: 4.381 MB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1319/0.3751, allocations: 146.7 MB / 1.206 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.3757, allocations: 11.94 kB / 1.206 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.3762, allocations: 150.8 kB / 1.206 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.3775, allocations: 464.5 kB / 1.207 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.3791, allocations: 0.7241 MB / 1.208 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.3803, allocations: 1.261 MB / 1.209 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007023/0.381, allocations: 0.5439 MB / 1.209 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.3815, allocations: 342.4 kB / 1.21 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.382, allocations: 389.8 kB / 1.21 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.312e-05/0.382, allocations: 24 kB / 1.21 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006306/0.3827, allocations: 363.7 kB / 1.21 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3829, allocations: 195 kB / 1.211 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.3832, allocations: 462.9 kB / 1.211 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3844, allocations: 1.472 MB / 1.213 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.3844, allocations: 0 / 1.213 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3844, allocations: 0 / 1.213 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.3844, allocations: 0 / 1.213 GB, free: 6.887 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00185/0.3862, allocations: 1.216 MB / 1.214 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3863, allocations: 8.031 kB / 1.214 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.3864, allocations: 131.3 kB / 1.214 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007888/0.3872, allocations: 195.4 kB / 1.214 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000842/0.3881, allocations: 0.7303 MB / 1.215 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.3881, allocations: 69.98 kB / 1.215 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/0.3882, allocations: 76 kB / 1.215 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.3896, allocations: 0.9067 MB / 1.216 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3896, allocations: 0 / 1.216 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/0.3897, allocations: 39.98 kB / 1.216 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.3897, allocations: 24 kB / 1.216 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.3912, allocations: 1.104 MB / 1.217 GB, free: 2.258 MB / 0.9669 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.003322/0.3946, allocations: 2.706 MB / 1.22 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.3959, allocations: 0.8766 MB / 1.22 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.3964, allocations: 302.7 kB / 1.221 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.3965, allocations: 36.55 kB / 1.221 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007227/0.3972, allocations: 0.4912 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.713e-06/0.3972, allocations: 0 / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.00274/0.3999, allocations: 1.198 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.4, allocations: 196.5 kB / 1.223 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.4007, allocations: 0.6215 MB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.4008, allocations: 37.7 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.401, allocations: 392.3 kB / 1.224 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.4012, allocations: 260.3 kB / 1.224 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.4013, allocations: 57.69 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4014, allocations: 390.7 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.4019, allocations: 241.9 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.4024, allocations: 366.5 kB / 1.225 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009492/0.4033, allocations: 0.5838 MB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4034, allocations: 0 / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001611/0.405, allocations: 0.7941 MB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.405, allocations: 9.562 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.405, allocations: 4.062 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.4056, allocations: 84.86 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.4061, allocations: 147.8 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.4079, allocations: 1.528 MB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.4084, allocations: 107.1 kB / 1.228 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.4085, allocations: 27.98 kB / 1.228 GB, free: 6.391 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003059/0.4088, allocations: 257.6 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4089, allocations: 94.89 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.411, allocations: 1.058 MB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4111, allocations: 8 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.4111, allocations: 0 / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.4111, allocations: 8.016 kB / 1.229 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.4138, allocations: 1.911 MB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4138, allocations: 0 / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.4143, allocations: 151.7 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/0.4148, allocations: 88.77 kB / 1.231 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.4148, allocations: 27.92 kB / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.4164, allocations: 1.54 MB / 1.233 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4164, allocations: 4.031 kB / 1.233 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.4181, allocations: 0.9999 MB / 1.234 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.4184, allocations: 283.6 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/0.4186, allocations: 20 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.4192, allocations: 85.45 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.4193, allocations: 68.84 kB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/0.4194, allocations: 35.97 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004616/0.4199, allocations: 455 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4199, allocations: 4 kB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006753/0.4206, allocations: 319.3 kB / 1.235 GB, free: 14.75 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003007/0.4236, allocations: 2.033 MB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.4249, allocations: 0.7924 MB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4249, allocations: 4 kB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.4257, allocations: 0.5158 MB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.4269, allocations: 267.2 kB / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009905/0.4368, allocations: 6.772 MB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.4374, allocations: 1.012 MB / 1.246 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007273/0.4381, allocations: 262.5 kB / 1.247 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.4386, allocations: 379.3 kB / 1.247 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.4386, allocations: 0 / 1.247 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.889/2.327, allocations: 20.02 MB / 1.267 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/2.328, allocations: 324.8 kB / 1.267 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/4.463, allocations: 2.734 kB / 1.267 GB, free: 186.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)