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.001268/0.001268, 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.001178/0.001179, allocations: 192.7 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.396/2.396, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.22 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2161, allocations: 157.4 MB / 1.053 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005107/0.2212, allocations: 4.791 MB / 1.058 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1324/0.3536, allocations: 150.6 MB / 1.205 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.3542, allocations: 15.94 kB / 1.205 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.3547, allocations: 178.3 kB / 1.205 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.3561, allocations: 0.547 MB / 1.205 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3576, allocations: 0.8219 MB / 1.206 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009602/0.3586, allocations: 1.351 MB / 1.207 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006717/0.3593, allocations: 0.5768 MB / 1.208 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.3597, allocations: 478.3 kB / 1.208 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.3601, allocations: 0.4939 MB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.3603, allocations: 116 kB / 1.209 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005808/0.3609, allocations: 459.7 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.3611, allocations: 291 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.3615, allocations: 0.5519 MB / 1.21 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.3627, allocations: 1.57 MB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3627, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3628, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.3628, allocations: 0 / 1.212 GB, free: 4.902 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.002014/0.3648, allocations: 1.411 MB / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.3648, allocations: 8.625 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.365, allocations: 135.3 kB / 1.213 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/0.3658, allocations: 183.4 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.3666, allocations: 0.742 MB / 1.214 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.3667, allocations: 62 kB / 1.214 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.3668, allocations: 80 kB / 1.214 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.368, allocations: 0.9067 MB / 1.215 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3681, allocations: 0 / 1.215 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.3681, allocations: 32 kB / 1.215 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.3682, allocations: 20 kB / 1.215 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.3697, allocations: 1.097 MB / 1.216 GB, free: 100 kB / 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.003259/0.373, allocations: 2.682 MB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.3743, allocations: 0.8727 MB / 1.22 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.3748, allocations: 298.7 kB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.62e-05/0.3749, allocations: 36.53 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007088/0.3756, allocations: 493.4 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.894e-06/0.3756, allocations: 0 / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002785/0.3784, allocations: 1.178 MB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.3785, allocations: 196.5 kB / 1.222 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.3791, allocations: 0.6176 MB / 1.223 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.3792, allocations: 41.7 kB / 1.223 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3794, allocations: 392.3 kB / 1.223 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.3796, allocations: 256.3 kB / 1.223 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.3798, allocations: 146.5 kB / 1.223 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3799, allocations: 390.7 kB / 1.224 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.3803, allocations: 237.9 kB / 1.224 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/0.3809, allocations: 366.5 kB / 1.224 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/0.3819, allocations: 0.576 MB / 1.225 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3819, allocations: 4.062 kB / 1.225 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001636/0.3835, allocations: 0.7864 MB / 1.226 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3835, allocations: 4 kB / 1.226 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3835, allocations: 4 kB / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/0.3841, allocations: 80.86 kB / 1.226 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.3846, allocations: 147.8 kB / 1.226 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.3864, allocations: 1.633 MB / 1.228 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.387, allocations: 91.3 kB / 1.228 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.387, allocations: 27.98 kB / 1.228 GB, free: 4.137 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.0002964/0.3873, allocations: 273.5 kB / 1.228 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3875, allocations: 83 kB / 1.228 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.3896, allocations: 1.05 MB / 1.229 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3896, allocations: 8 kB / 1.229 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3896, allocations: 0 / 1.229 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3897, allocations: 11.92 kB / 1.229 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.3923, allocations: 1.903 MB / 1.231 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3924, allocations: 4 kB / 1.231 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.3929, allocations: 147.8 kB / 1.231 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/0.3933, allocations: 72.78 kB / 1.231 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.3933, allocations: 27.97 kB / 1.231 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.395, allocations: 1.658 MB / 1.233 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.395, allocations: 0 / 1.233 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.3967, allocations: 0.9843 MB / 1.234 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.397, allocations: 267.8 kB / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.3971, allocations: 19.91 kB / 1.234 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/0.3977, allocations: 63.94 kB / 1.234 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.3979, allocations: 72.89 kB / 1.234 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.3979, allocations: 31.98 kB / 1.234 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00045/0.3984, allocations: 451 kB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3984, allocations: 4 kB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006427/0.399, allocations: 303.4 kB / 1.235 GB, free: 12.47 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.002997/0.4021, allocations: 2.041 MB / 1.237 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.404, allocations: 0.9874 MB / 1.238 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.404, allocations: 0 / 1.238 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008168/0.4048, allocations: 0.5158 MB / 1.238 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4059, allocations: 302.1 kB / 1.239 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008279/0.4142, allocations: 6.338 MB / 1.245 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.4147, allocations: 1.019 MB / 1.246 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006726/0.4154, allocations: 262.6 kB / 1.246 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.4158, allocations: 371.3 kB / 1.246 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.4158, allocations: 0 / 1.246 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7701/1.186, allocations: 21.1 MB / 1.267 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.82, allocations: 5.219 kB / 1.267 GB, free: 189.6 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)