Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001163/0.001163, allocations: 195.2 kB / 16.14 MB, free: 6.711 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.185/1.185, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.386/2.386, allocations: 461.9 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 71.91 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.226, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00544/0.2315, allocations: 4.932 MB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.13/0.3615, allocations: 148.3 MB / 1.202 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000723/0.3623, allocations: 15.94 kB / 1.202 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.3629, allocations: 154.8 kB / 1.202 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.3645, allocations: 481.3 kB / 1.202 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.3661, allocations: 0.7376 MB / 1.203 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.3675, allocations: 1.335 MB / 1.205 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007769/0.3683, allocations: 0.5594 MB / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005662/0.3688, allocations: 446.2 kB / 1.205 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.3694, allocations: 493.7 kB / 1.206 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.3696, allocations: 56 kB / 1.206 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007023/0.3703, allocations: 403.6 kB / 1.206 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.3705, allocations: 251 kB / 1.207 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.371, allocations: 0.5127 MB / 1.207 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.3724, allocations: 1.569 MB / 1.209 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3724, allocations: 0 / 1.209 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.51e-07/0.3724, allocations: 4 kB / 1.209 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.3725, allocations: 0 / 1.209 GB, free: 7.34 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002581/0.3751, allocations: 1.471 MB / 1.21 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3751, allocations: 15.97 kB / 1.21 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.3753, allocations: 131.5 kB / 1.21 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008601/0.3761, allocations: 187.4 kB / 1.21 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.377, allocations: 0.7583 MB / 1.211 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.3771, allocations: 62 kB / 1.211 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.677e-05/0.3772, allocations: 88 kB / 1.211 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.3786, allocations: 0.9418 MB / 1.212 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3786, allocations: 0 / 1.212 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.3787, allocations: 36 kB / 1.212 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.3787, allocations: 20 kB / 1.212 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.3803, allocations: 1.128 MB / 1.213 GB, free: 2.367 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.003411/0.3838, allocations: 2.755 MB / 1.216 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.3852, allocations: 0.9081 MB / 1.217 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.3857, allocations: 310.7 kB / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.92e-05/0.3858, allocations: 36.67 kB / 1.217 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008283/0.3866, allocations: 0.5081 MB / 1.218 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 1.763e-06/0.3866, allocations: 0 / 1.218 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.002945/0.3896, allocations: 1.255 MB / 1.219 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.3897, allocations: 192.9 kB / 1.219 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.3903, allocations: 0.6449 MB / 1.22 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.3904, allocations: 45.64 kB / 1.22 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.3906, allocations: 400.5 kB / 1.22 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.3908, allocations: 272.1 kB / 1.221 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.391, allocations: 158.5 kB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3912, allocations: 382.8 kB / 1.221 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.3917, allocations: 253.9 kB / 1.221 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.3922, allocations: 378.5 kB / 1.222 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.3932, allocations: 0.6008 MB / 1.222 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3932, allocations: 0 / 1.222 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001714/0.3949, allocations: 0.8254 MB / 1.223 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.395, allocations: 12.03 kB / 1.223 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.395, allocations: 4 kB / 1.223 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.3956, allocations: 84.77 kB / 1.223 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.3962, allocations: 159.7 kB / 1.223 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.398, allocations: 1.513 MB / 1.225 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/0.3986, allocations: 99.44 kB / 1.225 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.3987, allocations: 31.98 kB / 1.225 GB, free: 6.129 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003133/0.399, allocations: 273.5 kB / 1.225 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.3991, allocations: 82.97 kB / 1.225 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.4014, allocations: 1.144 MB / 1.226 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4014, allocations: 12 kB / 1.226 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4015, allocations: 0 / 1.226 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.4015, allocations: 7.922 kB / 1.226 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.4043, allocations: 2.016 MB / 1.228 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4044, allocations: 0 / 1.228 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.4049, allocations: 151.7 kB / 1.228 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/0.4054, allocations: 84.77 kB / 1.229 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.4055, allocations: 23.98 kB / 1.229 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.4071, allocations: 1.555 MB / 1.23 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4071, allocations: 0 / 1.23 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.409, allocations: 1.043 MB / 1.231 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.4093, allocations: 287.6 kB / 1.231 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4094, allocations: 27.94 kB / 1.231 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/0.41, allocations: 67.92 kB / 1.231 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.4102, allocations: 76.83 kB / 1.232 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.4103, allocations: 39.97 kB / 1.232 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004759/0.4107, allocations: 467 kB / 1.232 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4108, allocations: 0 / 1.232 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000711/0.4115, allocations: 327.2 kB / 1.232 GB, free: 14.21 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003164/0.4146, allocations: 2.103 MB / 1.234 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.4161, allocations: 0.8237 MB / 1.235 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4161, allocations: 0 / 1.235 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008576/0.417, allocations: 0.5392 MB / 1.236 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.418, allocations: 287.8 kB / 1.236 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.4283, allocations: 7.014 MB / 1.243 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.4288, allocations: 1.032 MB / 1.244 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000733/0.4295, allocations: 266.9 kB / 1.244 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/0.43, allocations: 411.3 kB / 1.245 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.43, allocations: 0 / 1.245 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4417/0.8718, allocations: 21.17 MB / 1.265 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.872, allocations: 316.7 kB / 1.265 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/3.078, allocations: 1 kB / 1.265 GB, free: 187.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)