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.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.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.001267/0.001267, 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.001262/0.001262, allocations: 191.3 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.228/1.228, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.458/2.458, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.5 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2305, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005772/0.2363, allocations: 4.94 MB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1285/0.3648, allocations: 148.4 MB / 1.202 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007506/0.3656, allocations: 19.88 kB / 1.202 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.3663, allocations: 150.8 kB / 1.202 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.3681, allocations: 492.9 kB / 1.203 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.3698, allocations: 0.764 MB / 1.204 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.3713, allocations: 1.409 MB / 1.205 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008318/0.3721, allocations: 0.5871 MB / 1.205 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.3728, allocations: 0.506 MB / 1.206 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006441/0.3734, allocations: 0.5212 MB / 1.206 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.3737, allocations: 120 kB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007655/0.3744, allocations: 463.6 kB / 1.207 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.3747, allocations: 299.1 kB / 1.207 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005411/0.3753, allocations: 0.5791 MB / 1.208 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.3768, allocations: 1.612 MB / 1.209 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3769, allocations: 0 / 1.209 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3769, allocations: 0 / 1.209 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.099e-05/0.3769, allocations: 4 kB / 1.209 GB, free: 7.195 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.002726/0.3796, allocations: 1.472 MB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3797, allocations: 8.625 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.3798, allocations: 139.5 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.3807, allocations: 195.4 kB / 1.211 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009763/0.3817, allocations: 0.7505 MB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.3818, allocations: 69.94 kB / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.3819, allocations: 80 kB / 1.212 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.3834, allocations: 0.9418 MB / 1.213 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.3834, allocations: 0 / 1.213 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.3835, allocations: 40 kB / 1.213 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3835, allocations: 20 kB / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.3852, allocations: 1.128 MB / 1.214 GB, free: 2.223 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.003518/0.3887, allocations: 2.759 MB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.3901, allocations: 0.9003 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.3906, allocations: 314.7 kB / 1.218 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.3907, allocations: 28.69 kB / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008238/0.3915, allocations: 0.5197 MB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 1.984e-06/0.3915, allocations: 4 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.002939/0.3945, allocations: 1.251 MB / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.3946, allocations: 196.9 kB / 1.22 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/0.3952, allocations: 0.641 MB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.3953, allocations: 45.64 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.3955, allocations: 400.5 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.3957, allocations: 268.1 kB / 1.221 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.396, allocations: 154.5 kB / 1.221 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3961, allocations: 390.8 kB / 1.222 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.3966, allocations: 257.9 kB / 1.222 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.3971, allocations: 366.5 kB / 1.222 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3982, allocations: 0.6048 MB / 1.223 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3982, allocations: 4.062 kB / 1.223 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001748/0.3999, allocations: 0.8292 MB / 1.224 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4, allocations: 11.94 kB / 1.224 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4, allocations: 0 / 1.224 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005631/0.4005, allocations: 80.86 kB / 1.224 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.4012, allocations: 163.7 kB / 1.224 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.403, allocations: 1.632 MB / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/0.4037, allocations: 95.31 kB / 1.226 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.4037, allocations: 35.95 kB / 1.226 GB, free: 5.855 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.0003249/0.4041, allocations: 267.2 kB / 1.226 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4042, allocations: 90.88 kB / 1.226 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.4065, allocations: 1.14 MB / 1.227 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.4066, allocations: 12 kB / 1.227 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4066, allocations: 0 / 1.227 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.4066, allocations: 3.984 kB / 1.227 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.4095, allocations: 2.016 MB / 1.229 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4095, allocations: 0 / 1.229 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.4101, allocations: 155.7 kB / 1.229 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.4105, allocations: 76.78 kB / 1.229 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.4106, allocations: 31.91 kB / 1.23 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.4123, allocations: 1.662 MB / 1.231 GB, free: 180 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4123, allocations: 4.062 kB / 1.231 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.4142, allocations: 1.047 MB / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.4146, allocations: 279.9 kB / 1.232 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.4147, allocations: 23.97 kB / 1.232 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.4154, allocations: 63.94 kB / 1.233 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.4156, allocations: 84.83 kB / 1.233 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.4157, allocations: 39.97 kB / 1.233 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005055/0.4162, allocations: 467 kB / 1.233 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4162, allocations: 0 / 1.233 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007772/0.417, allocations: 327.2 kB / 1.233 GB, free: 13.84 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.003376/0.4203, allocations: 2.089 MB / 1.235 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0022/0.4226, allocations: 1.046 MB / 1.236 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4226, allocations: 0 / 1.236 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000879/0.4235, allocations: 0.5434 MB / 1.237 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.4246, allocations: 310.7 kB / 1.237 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.4352, allocations: 7.019 MB / 1.244 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.4358, allocations: 1.037 MB / 1.245 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007791/0.4365, allocations: 270.9 kB / 1.245 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/0.4371, allocations: 415.2 kB / 1.246 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.4371, allocations: 0 / 1.246 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.123/1.56, allocations: 21.79 MB / 1.267 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/1.561, allocations: 314.3 kB / 1.267 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/5.353, allocations: 0 / 1.267 GB, free: 189.1 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)