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.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.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.001249/0.001249, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001268/0.001268, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.233/1.233, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.459/2.459, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 72.48 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2391, allocations: 157.4 MB / 1.052 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005664/0.2448, allocations: 4.801 MB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.4299, allocations: 148.4 MB / 1.202 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008302/0.4308, allocations: 15.94 kB / 1.202 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.4315, allocations: 150.8 kB / 1.202 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.4332, allocations: 496.8 kB / 1.203 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.4349, allocations: 0.7304 MB / 1.203 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.4364, allocations: 1.362 MB / 1.205 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.4372, allocations: 0.5714 MB / 1.205 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006348/0.4378, allocations: 478.3 kB / 1.206 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006187/0.4385, allocations: 0.494 MB / 1.206 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.4387, allocations: 112 kB / 1.206 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007785/0.4394, allocations: 459.6 kB / 1.207 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.4397, allocations: 291 kB / 1.207 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005204/0.4402, allocations: 0.5519 MB / 1.208 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.4418, allocations: 1.577 MB / 1.209 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4418, allocations: 0 / 1.209 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4418, allocations: 0 / 1.209 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.4418, allocations: 0 / 1.209 GB, free: 7.578 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.002192/0.444, allocations: 1.411 MB / 1.21 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4441, allocations: 8.625 kB / 1.21 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.4442, allocations: 131.3 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008305/0.445, allocations: 187.4 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/0.4459, allocations: 0.7381 MB / 1.211 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.446, allocations: 58 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/0.4461, allocations: 84 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.4474, allocations: 0.895 MB / 1.212 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4475, allocations: 4 kB / 1.212 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.4476, allocations: 43.98 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.4476, allocations: 23.94 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.4491, allocations: 1.093 MB / 1.214 GB, free: 2.773 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.003376/0.4525, allocations: 2.685 MB / 1.216 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.4539, allocations: 0.8688 MB / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.4543, allocations: 306.6 kB / 1.217 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.91e-05/0.4544, allocations: 28.56 kB / 1.217 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008057/0.4552, allocations: 495.2 kB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.174e-06/0.4552, allocations: 0 / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002899/0.4582, allocations: 1.182 MB / 1.219 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.4582, allocations: 192.6 kB / 1.219 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.4589, allocations: 0.6176 MB / 1.22 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.459, allocations: 41.7 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.4592, allocations: 392.3 kB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.4594, allocations: 252.3 kB / 1.22 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.4596, allocations: 146.5 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4597, allocations: 394.7 kB / 1.221 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.4602, allocations: 241.9 kB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.4607, allocations: 354.5 kB / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/0.4616, allocations: 0.5722 MB / 1.222 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4617, allocations: 0 / 1.222 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001684/0.4633, allocations: 0.7903 MB / 1.223 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4634, allocations: 5.719 kB / 1.223 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.4634, allocations: 8.031 kB / 1.223 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/0.464, allocations: 76.77 kB / 1.223 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.4646, allocations: 155.8 kB / 1.223 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.4665, allocations: 1.639 MB / 1.225 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.4672, allocations: 91.22 kB / 1.225 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.4672, allocations: 27.98 kB / 1.225 GB, free: 6.809 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.0003611/0.4676, allocations: 269.6 kB / 1.225 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.4677, allocations: 79.06 kB / 1.225 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.47, allocations: 1.058 MB / 1.226 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.47, allocations: 11.98 kB / 1.226 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.47, allocations: 3.938 kB / 1.226 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.47, allocations: 11.92 kB / 1.226 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.4729, allocations: 1.895 MB / 1.228 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.473, allocations: 4 kB / 1.228 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.4735, allocations: 139.8 kB / 1.228 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.4739, allocations: 72.8 kB / 1.228 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.474, allocations: 23.97 kB / 1.228 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.4757, allocations: 1.67 MB / 1.23 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4757, allocations: 7.984 kB / 1.23 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.4775, allocations: 0.9804 MB / 1.231 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.4778, allocations: 271.8 kB / 1.231 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.478, allocations: 19.91 kB / 1.231 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/0.4786, allocations: 64 kB / 1.231 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.4788, allocations: 64.91 kB / 1.231 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.4788, allocations: 39.97 kB / 1.231 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004745/0.4793, allocations: 455 kB / 1.232 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4793, allocations: 0 / 1.232 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007449/0.4801, allocations: 315.3 kB / 1.232 GB, free: 15.11 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.003212/0.4833, allocations: 2.031 MB / 1.234 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.4853, allocations: 0.9834 MB / 1.235 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4853, allocations: 4 kB / 1.235 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008277/0.4862, allocations: 0.5161 MB / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4873, allocations: 305.4 kB / 1.236 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.4974, allocations: 6.717 MB / 1.242 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.4981, allocations: 1.02 MB / 1.243 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008248/0.4989, allocations: 262.5 kB / 1.244 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005325/0.4995, allocations: 383.3 kB / 1.244 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.4995, allocations: 0 / 1.244 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.373/1.872, allocations: 20.9 MB / 1.264 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/1.873, allocations: 321.5 kB / 1.265 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/5.127, allocations: 0 / 1.265 GB, free: 190.4 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)