Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_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.001005/0.001005, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.0009541/0.0009541, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.164/1.164, 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 10.1.1-maint.10.0.x/package.mo): time 2.259/2.259, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.88 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4676, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005259/0.4729, allocations: 4.811 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1309/0.6038, allocations: 148.4 MB / 1.166 GB, free: 8.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.6047, allocations: 23.88 kB / 1.167 GB, free: 8.938 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.6054, allocations: 142.9 kB / 1.167 GB, free: 8.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.6071, allocations: 490.9 kB / 1.167 GB, free: 8.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.6087, allocations: 0.7455 MB / 1.168 GB, free: 7.582 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.6101, allocations: 1.359 MB / 1.169 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007832/0.6109, allocations: 0.5714 MB / 1.17 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005905/0.6115, allocations: 478.3 kB / 1.17 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.6121, allocations: 0.494 MB / 1.171 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.6122, allocations: 112 kB / 1.171 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.6129, allocations: 459.6 kB / 1.171 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.6132, allocations: 291.1 kB / 1.171 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.6136, allocations: 0.548 MB / 1.172 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.6152, allocations: 1.573 MB / 1.174 GB, free: 1.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6152, allocations: 0 / 1.174 GB, free: 1.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6152, allocations: 0 / 1.174 GB, free: 1.691 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.188e-05/0.6152, allocations: 0 / 1.174 GB, free: 1.691 MB / 0.92 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.002521/0.6178, allocations: 1.418 MB / 1.175 GB, free: 216 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6178, allocations: 12.03 kB / 1.175 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.618, allocations: 131.3 kB / 1.175 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009054/0.6189, allocations: 183.4 kB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/0.6199, allocations: 0.7343 MB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.62, allocations: 65.94 kB / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.6201, allocations: 76 kB / 1.176 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6215, allocations: 0.9105 MB / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.6215, allocations: 0 / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.6216, allocations: 39.98 kB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.6216, allocations: 20 kB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.6232, allocations: 1.093 MB / 1.178 GB, free: 12.87 MB / 0.9356 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.003615/0.6269, allocations: 2.673 MB / 1.181 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.6282, allocations: 0.8743 MB / 1.182 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.6287, allocations: 302.7 kB / 1.182 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.798e-05/0.6288, allocations: 32.56 kB / 1.182 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008333/0.6296, allocations: 495.1 kB / 1.182 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.305e-06/0.6297, allocations: 0 / 1.182 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.002897/0.6326, allocations: 1.182 MB / 1.184 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.6327, allocations: 188.6 kB / 1.184 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.6333, allocations: 0.6214 MB / 1.184 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.6334, allocations: 45.7 kB / 1.184 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.6337, allocations: 388.4 kB / 1.185 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.6339, allocations: 252.4 kB / 1.185 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.6341, allocations: 146.5 kB / 1.185 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6342, allocations: 386.7 kB / 1.185 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.6347, allocations: 241.9 kB / 1.186 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.6353, allocations: 358.5 kB / 1.186 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.6362, allocations: 0.576 MB / 1.187 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6362, allocations: 64 / 1.187 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001714/0.6379, allocations: 0.7903 MB / 1.187 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.638, allocations: 4 kB / 1.187 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.638, allocations: 0 / 1.187 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.6386, allocations: 88.8 kB / 1.187 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.6392, allocations: 151.8 kB / 1.188 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.6411, allocations: 1.646 MB / 1.189 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.6417, allocations: 83.45 kB / 1.189 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.6418, allocations: 31.98 kB / 1.189 GB, free: 0.9141 MB / 0.9356 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.0003212/0.6421, allocations: 265.5 kB / 1.19 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.6422, allocations: 78.97 kB / 1.19 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.6444, allocations: 1.05 MB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.6445, allocations: 15.98 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.6445, allocations: 0 / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.6445, allocations: 7.922 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.6473, allocations: 1.91 MB / 1.193 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.6474, allocations: 8 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.6479, allocations: 139.8 kB / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.6483, allocations: 72.73 kB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.6484, allocations: 27.97 kB / 1.193 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.6501, allocations: 1.658 MB / 1.194 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6502, allocations: 3.984 kB / 1.194 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.652, allocations: 0.9803 MB / 1.195 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.6523, allocations: 271.8 kB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.6524, allocations: 24 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.653, allocations: 67.83 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.6532, allocations: 68.91 kB / 1.196 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.6532, allocations: 35.97 kB / 1.196 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004947/0.6537, allocations: 451 kB / 1.196 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6538, allocations: 0 / 1.196 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007394/0.6545, allocations: 311.3 kB / 1.197 GB, free: 9.23 MB / 0.9512 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.003213/0.6577, allocations: 2.043 MB / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.6598, allocations: 0.9953 MB / 1.2 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6598, allocations: 0 / 1.2 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.6606, allocations: 0.5042 MB / 1.2 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6617, allocations: 309.2 kB / 1.2 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.6721, allocations: 6.715 MB / 1.207 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.6727, allocations: 1.02 MB / 1.208 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007757/0.6735, allocations: 262.5 kB / 1.208 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.674, allocations: 379.3 kB / 1.209 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.674, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.22/2.894, allocations: 20.9 MB / 1.229 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/2.894, allocations: 312.8 kB / 1.229 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/5.454, allocations: 3.094 kB / 1.229 GB, free: 8.168 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)