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.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.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.001182/0.001182, 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.001218/0.001218, allocations: 193.5 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.225/1.225, 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.306/2.306, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.39 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2189, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005516/0.2244, allocations: 4.829 MB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.127/0.3514, allocations: 148.3 MB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006712/0.3521, allocations: 15.94 kB / 1.202 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.3527, allocations: 142.8 kB / 1.202 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.3541, allocations: 471.7 kB / 1.202 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.3556, allocations: 0.724 MB / 1.203 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.3568, allocations: 1.288 MB / 1.204 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007244/0.3576, allocations: 0.5749 MB / 1.205 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.3581, allocations: 410.4 kB / 1.205 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004978/0.3586, allocations: 485.7 kB / 1.206 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.3587, allocations: 56 kB / 1.206 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006567/0.3594, allocations: 395.7 kB / 1.206 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.3596, allocations: 243 kB / 1.206 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.36, allocations: 0.5011 MB / 1.207 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.3613, allocations: 1.546 MB / 1.208 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3614, allocations: 8 kB / 1.208 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.093e-06/0.3614, allocations: 0 / 1.208 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.221e-05/0.3614, allocations: 0 / 1.208 GB, free: 7.605 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.002285/0.3637, allocations: 1.424 MB / 1.21 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3637, allocations: 15.97 kB / 1.21 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.3639, allocations: 131.4 kB / 1.21 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008283/0.3647, allocations: 187.4 kB / 1.21 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/0.3656, allocations: 0.7381 MB / 1.211 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.3657, allocations: 62 kB / 1.211 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3658, allocations: 80 kB / 1.211 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.3672, allocations: 0.9261 MB / 1.212 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3672, allocations: 3.938 kB / 1.212 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/0.3673, allocations: 39.98 kB / 1.212 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3673, allocations: 20 kB / 1.212 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.3689, allocations: 1.112 MB / 1.213 GB, free: 2.738 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.003461/0.3724, allocations: 2.732 MB / 1.216 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.3738, allocations: 0.8958 MB / 1.217 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.3743, allocations: 306.7 kB / 1.217 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.3744, allocations: 28.62 kB / 1.217 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000784/0.3752, allocations: 499.1 kB / 1.217 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.883e-06/0.3752, allocations: 0 / 1.217 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002803/0.378, allocations: 1.186 MB / 1.218 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.3781, allocations: 188.6 kB / 1.219 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.3787, allocations: 0.6331 MB / 1.219 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.3788, allocations: 41.7 kB / 1.219 GB, free: 12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.379, allocations: 396.3 kB / 1.22 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.3792, allocations: 256.3 kB / 1.22 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.3794, allocations: 142.6 kB / 1.22 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3796, allocations: 382.7 kB / 1.22 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.38, allocations: 245.9 kB / 1.221 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.3806, allocations: 362.5 kB / 1.221 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/0.3815, allocations: 0.5838 MB / 1.222 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3815, allocations: 0 / 1.222 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00166/0.3832, allocations: 0.7941 MB / 1.222 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3832, allocations: 11.94 kB / 1.222 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3833, allocations: 0 / 1.222 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.3838, allocations: 88.8 kB / 1.222 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.3844, allocations: 151.7 kB / 1.223 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.3862, allocations: 1.532 MB / 1.224 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.3868, allocations: 87.31 kB / 1.224 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.3868, allocations: 27.98 kB / 1.224 GB, free: 6.766 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.0003078/0.3871, allocations: 269.9 kB / 1.224 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.3873, allocations: 94.81 kB / 1.225 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.3894, allocations: 1.065 MB / 1.226 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.3894, allocations: 12 kB / 1.226 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3895, allocations: 0 / 1.226 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3895, allocations: 3.984 kB / 1.226 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.3923, allocations: 1.962 MB / 1.228 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3923, allocations: 0 / 1.228 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.3928, allocations: 139.8 kB / 1.228 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.3933, allocations: 84.77 kB / 1.228 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.3934, allocations: 23.98 kB / 1.228 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.395, allocations: 1.563 MB / 1.229 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.395, allocations: 3.984 kB / 1.229 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3967, allocations: 0.9843 MB / 1.23 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.397, allocations: 279.7 kB / 1.231 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3972, allocations: 23.94 kB / 1.231 GB, free: 4 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.3978, allocations: 71.16 kB / 1.231 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3979, allocations: 64.91 kB / 1.231 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.398, allocations: 36.03 kB / 1.231 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000457/0.3985, allocations: 455 kB / 1.231 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3985, allocations: 0 / 1.231 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006533/0.3991, allocations: 319.2 kB / 1.231 GB, free: 15.09 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.003051/0.4022, allocations: 2.044 MB / 1.233 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.4035, allocations: 0.7924 MB / 1.234 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4035, allocations: 4 kB / 1.234 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.4044, allocations: 0.512 MB / 1.235 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4054, allocations: 271.8 kB / 1.235 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009795/0.4152, allocations: 6.793 MB / 1.242 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.4157, allocations: 1.012 MB / 1.243 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007026/0.4164, allocations: 266.6 kB / 1.243 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.4169, allocations: 367.3 kB / 1.243 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.4169, allocations: 4 kB / 1.243 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.399/1.816, allocations: 20.56 MB / 1.263 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/1.816, allocations: 304.1 kB / 1.264 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.994, allocations: 5.438 kB / 1.264 GB, free: 188.7 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)