Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_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.001181/0.001181, 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.001229/0.00123, allocations: 196.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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.506/2.506, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 68.84 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2375, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005831/0.2433, allocations: 4.832 MB / 1.058 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1323/0.3756, allocations: 150.6 MB / 1.205 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/0.3763, allocations: 23.88 kB / 1.205 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006059/0.377, allocations: 182.3 kB / 1.205 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.3787, allocations: 0.5539 MB / 1.205 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.3804, allocations: 0.8235 MB / 1.206 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.3818, allocations: 1.378 MB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007903/0.3826, allocations: 0.5947 MB / 1.208 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.3832, allocations: 482.4 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.3837, allocations: 0.494 MB / 1.209 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.3839, allocations: 116 kB / 1.209 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007456/0.3847, allocations: 463.6 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.385, allocations: 295.1 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.3854, allocations: 0.5597 MB / 1.21 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.3869, allocations: 1.608 MB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.387, allocations: 4 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.387, allocations: 0 / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.413e-05/0.387, allocations: 0 / 1.212 GB, free: 4.625 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002406/0.3894, allocations: 1.424 MB / 1.213 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3895, allocations: 8.625 kB / 1.213 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.3896, allocations: 131.4 kB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/0.3905, allocations: 187.4 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.3914, allocations: 0.7458 MB / 1.214 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.3914, allocations: 62 kB / 1.215 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-05/0.3915, allocations: 80 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.3929, allocations: 0.9222 MB / 1.215 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3929, allocations: 0 / 1.215 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.393, allocations: 35.98 kB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.393, allocations: 20 kB / 1.216 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.3945, allocations: 1.112 MB / 1.217 GB, free: 15.77 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.003458/0.398, allocations: 2.74 MB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.3995, allocations: 0.888 MB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.4, allocations: 306.7 kB / 1.22 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-05/0.4, allocations: 28.61 kB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007691/0.4008, allocations: 0.4928 MB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.903e-06/0.4008, allocations: 4 kB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002811/0.4036, allocations: 1.186 MB / 1.222 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.4037, allocations: 188.6 kB / 1.222 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.4044, allocations: 0.6292 MB / 1.223 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.4044, allocations: 45.7 kB / 1.223 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.4047, allocations: 392.3 kB / 1.223 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.4049, allocations: 256.3 kB / 1.224 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.4051, allocations: 146.6 kB / 1.224 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4052, allocations: 390.7 kB / 1.224 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.4057, allocations: 241.9 kB / 1.224 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.4062, allocations: 358.6 kB / 1.225 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.4072, allocations: 0.5838 MB / 1.225 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4072, allocations: 4 kB / 1.225 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001705/0.4089, allocations: 0.8057 MB / 1.226 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.409, allocations: 4 kB / 1.226 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.409, allocations: 0 / 1.226 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/0.4095, allocations: 88.8 kB / 1.226 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.4101, allocations: 147.8 kB / 1.226 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.4119, allocations: 1.639 MB / 1.228 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.4125, allocations: 95.28 kB / 1.228 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.4126, allocations: 35.92 kB / 1.228 GB, free: 3.656 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.0002984/0.4129, allocations: 261.6 kB / 1.228 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.413, allocations: 83.05 kB / 1.228 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.4152, allocations: 1.065 MB / 1.229 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4152, allocations: 15.97 kB / 1.229 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4152, allocations: 4 kB / 1.229 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4152, allocations: 7.984 kB / 1.229 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.418, allocations: 1.954 MB / 1.231 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.418, allocations: 4 kB / 1.231 GB, free: 188 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.4185, allocations: 143.8 kB / 1.231 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.419, allocations: 72.78 kB / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.419, allocations: 23.98 kB / 1.232 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.4207, allocations: 1.67 MB / 1.233 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4207, allocations: 0 / 1.233 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.4225, allocations: 0.9921 MB / 1.234 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.4228, allocations: 275.7 kB / 1.234 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.4229, allocations: 19.98 kB / 1.234 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.4236, allocations: 66.19 kB / 1.234 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.4237, allocations: 76.83 kB / 1.235 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.4238, allocations: 31.98 kB / 1.235 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004698/0.4242, allocations: 455 kB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4242, allocations: 0 / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000686/0.4249, allocations: 315.2 kB / 1.235 GB, free: 11.89 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.0031/0.428, allocations: 2.043 MB / 1.237 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.4301, allocations: 0.9954 MB / 1.238 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4301, allocations: 0 / 1.238 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.4309, allocations: 0.5196 MB / 1.239 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.432, allocations: 294.3 kB / 1.239 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008733/0.4408, allocations: 6.397 MB / 1.245 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.4413, allocations: 1.02 MB / 1.246 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000702/0.442, allocations: 270.6 kB / 1.247 GB, free: 384 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.4424, allocations: 375.2 kB / 1.247 GB, free: 8 kB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.4425, allocations: 0 / 1.247 GB, free: 8 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7328/1.175, allocations: 21.34 MB / 1.268 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.66, allocations: 8.219 kB / 1.268 GB, free: 189.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)