Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_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.001585/0.001585, allocations: 108 kB / 15.6 MB, free: 132 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.001702/0.001702, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.554/2.554, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 66.3 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2537, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006449/0.2602, allocations: 4.786 MB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1636/0.4239, allocations: 150.6 MB / 1.216 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006652/0.4246, allocations: 15.88 kB / 1.216 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.4252, allocations: 190.3 kB / 1.216 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.4268, allocations: 0.5283 MB / 1.217 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.4286, allocations: 0.8297 MB / 1.217 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.4301, allocations: 1.343 MB / 1.219 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/0.431, allocations: 0.5869 MB / 1.219 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006224/0.4316, allocations: 474.4 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.4323, allocations: 497.8 kB / 1.22 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.4325, allocations: 116 kB / 1.22 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.4333, allocations: 463.6 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.4336, allocations: 279.1 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005571/0.4342, allocations: 0.5558 MB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.4359, allocations: 1.566 MB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4359, allocations: 4 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4359, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.738e-05/0.436, allocations: 0 / 1.223 GB, free: 10.77 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002541/0.4385, allocations: 1.414 MB / 1.224 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4386, allocations: 12.03 kB / 1.224 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.4387, allocations: 139.2 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008932/0.4396, allocations: 183.5 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.4407, allocations: 0.7341 MB / 1.225 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.4407, allocations: 66 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4408, allocations: 76 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.4423, allocations: 0.9105 MB / 1.226 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.4424, allocations: 0 / 1.226 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.4425, allocations: 36 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.4425, allocations: 20 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.4443, allocations: 1.097 MB / 1.228 GB, free: 5.949 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.003832/0.4481, allocations: 2.682 MB / 1.23 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.4497, allocations: 0.8687 MB / 1.231 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005272/0.4502, allocations: 298.7 kB / 1.231 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.4503, allocations: 36.55 kB / 1.231 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008481/0.4511, allocations: 484.6 kB / 1.232 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.753e-06/0.4511, allocations: 0 / 1.232 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003022/0.4542, allocations: 1.186 MB / 1.233 GB, free: 228 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.4543, allocations: 192.6 kB / 1.233 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007215/0.455, allocations: 0.6176 MB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.4551, allocations: 37.7 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.4554, allocations: 396.3 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.4556, allocations: 256.3 kB / 1.234 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.4558, allocations: 146.5 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.456, allocations: 390.7 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.4565, allocations: 245.8 kB / 1.235 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.4571, allocations: 354.6 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.4582, allocations: 0.5721 MB / 1.236 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4582, allocations: 4 kB / 1.236 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001807/0.46, allocations: 0.7863 MB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.46, allocations: 5.719 kB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4601, allocations: 7.938 kB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/0.4606, allocations: 84.86 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.4612, allocations: 147.8 kB / 1.237 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.4633, allocations: 1.636 MB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.4638, allocations: 83.33 kB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.4639, allocations: 35.97 kB / 1.239 GB, free: 10 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: 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.0003398/0.4643, allocations: 265.6 kB / 1.239 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.4644, allocations: 79.06 kB / 1.239 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.4667, allocations: 1.058 MB / 1.24 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.4667, allocations: 8 kB / 1.24 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4667, allocations: 0 / 1.24 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4668, allocations: 11.92 kB / 1.24 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.4698, allocations: 1.914 MB / 1.242 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.4698, allocations: 4 kB / 1.242 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.4704, allocations: 139.8 kB / 1.242 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/0.4708, allocations: 76.72 kB / 1.242 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.4709, allocations: 23.98 kB / 1.242 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.4728, allocations: 1.666 MB / 1.244 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4728, allocations: 0 / 1.244 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.4747, allocations: 0.9804 MB / 1.245 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.4751, allocations: 267.7 kB / 1.245 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4752, allocations: 24 kB / 1.245 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.4758, allocations: 63.92 kB / 1.245 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.476, allocations: 64.91 kB / 1.245 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.4761, allocations: 40.11 kB / 1.245 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005359/0.4766, allocations: 451 kB / 1.246 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4766, allocations: 0 / 1.246 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007477/0.4774, allocations: 311.3 kB / 1.246 GB, free: 2.32 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.003887/0.4813, allocations: 2.034 MB / 1.248 GB, free: 460 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3601/0.8414, allocations: 0.9869 MB / 1.249 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.8414, allocations: 0.9062 kB / 1.249 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.8423, allocations: 0.512 MB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.8436, allocations: 293.2 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008149/0.8517, allocations: 6.346 MB / 1.256 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.8521, allocations: 1.021 MB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006602/0.8527, allocations: 264 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.8531, allocations: 378.3 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.8531, allocations: 0 / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5371/1.39, allocations: 21.09 MB / 1.278 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.04, allocations: 13.39 kB / 1.278 GB, free: 178 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)