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.0007227/0.0007228, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.0007237/0.0007237, allocations: 173 kB / 16.27 MB, free: 6.656 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.166/1.166, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.36/2.36, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 11.88 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004438/0.2316, allocations: 4.409 MB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1306/0.3623, allocations: 146.7 MB / 1.206 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005636/0.3629, allocations: 19.88 kB / 1.206 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.3634, allocations: 154.8 kB / 1.206 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.3647, allocations: 460.2 kB / 1.207 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.3662, allocations: 0.7312 MB / 1.208 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.3675, allocations: 1.288 MB / 1.209 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.3682, allocations: 0.5476 MB / 1.209 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004638/0.3687, allocations: 350.3 kB / 1.21 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.3691, allocations: 389.9 kB / 1.21 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.3692, allocations: 24 kB / 1.21 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006238/0.3699, allocations: 367.6 kB / 1.211 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.3701, allocations: 187.1 kB / 1.211 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.3704, allocations: 478.8 kB / 1.211 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3716, allocations: 1.495 MB / 1.213 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3717, allocations: 4 kB / 1.213 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3717, allocations: 4 kB / 1.213 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3717, allocations: 3.938 kB / 1.213 GB, free: 6.699 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.00185/0.3735, allocations: 1.204 MB / 1.214 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3736, allocations: 19.95 kB / 1.214 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.3737, allocations: 139.3 kB / 1.214 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/0.3745, allocations: 191.4 kB / 1.214 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/0.3754, allocations: 0.742 MB / 1.215 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.3755, allocations: 66 kB / 1.215 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.3756, allocations: 79.94 kB / 1.215 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.3769, allocations: 0.9262 MB / 1.216 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3769, allocations: 0 / 1.216 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.487e-05/0.377, allocations: 35.94 kB / 1.216 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.377, allocations: 20 kB / 1.216 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.3786, allocations: 1.12 MB / 1.217 GB, free: 2.027 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.003413/0.382, allocations: 2.771 MB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.3834, allocations: 0.8997 MB / 1.221 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.384, allocations: 306.7 kB / 1.221 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.589e-05/0.384, allocations: 32.59 kB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007593/0.3848, allocations: 0.4953 MB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.653e-06/0.3848, allocations: 0 / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002764/0.3876, allocations: 1.209 MB / 1.223 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/0.3877, allocations: 192.5 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/0.3883, allocations: 0.6254 MB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.3884, allocations: 41.7 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.3886, allocations: 396.4 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.3888, allocations: 252.3 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/0.3889, allocations: 61.69 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.389, allocations: 386.7 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.3895, allocations: 249.9 kB / 1.225 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.39, allocations: 362.5 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/0.391, allocations: 0.5916 MB / 1.226 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.391, allocations: 4 kB / 1.226 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001638/0.3927, allocations: 0.8019 MB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3927, allocations: 8.094 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3927, allocations: 0 / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/0.3933, allocations: 92.7 kB / 1.227 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.3938, allocations: 147.8 kB / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.3956, allocations: 1.537 MB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.3962, allocations: 109 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.3962, allocations: 23.98 kB / 1.228 GB, free: 6.02 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.0003082/0.3966, allocations: 269.6 kB / 1.229 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3967, allocations: 90.89 kB / 1.229 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.3988, allocations: 1.066 MB / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3988, allocations: 8 kB / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.3988, allocations: 0 / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3988, allocations: 7.922 kB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.4016, allocations: 1.978 MB / 1.232 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4017, allocations: 0 / 1.232 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.4022, allocations: 147.8 kB / 1.232 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/0.4027, allocations: 84.77 kB / 1.232 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.4027, allocations: 23.98 kB / 1.232 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.4043, allocations: 1.563 MB / 1.233 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4043, allocations: 0 / 1.233 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4061, allocations: 1.008 MB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.4064, allocations: 283.7 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.4065, allocations: 19.94 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.4072, allocations: 87.92 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4073, allocations: 68.91 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.4074, allocations: 35.97 kB / 1.235 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004712/0.4078, allocations: 459 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4079, allocations: 0 / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006718/0.4085, allocations: 307.3 kB / 1.236 GB, free: 14.29 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.003071/0.4116, allocations: 2.058 MB / 1.238 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.413, allocations: 0.8002 MB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.413, allocations: 3.938 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/0.4138, allocations: 0.5236 MB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.415, allocations: 279.5 kB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0099/0.4249, allocations: 6.82 MB / 1.246 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.4254, allocations: 1.02 MB / 1.247 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006938/0.4261, allocations: 270.6 kB / 1.247 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.4265, allocations: 363.3 kB / 1.247 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4266, allocations: 4 kB / 1.247 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.597/6.024, allocations: 20.25 MB / 1.267 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/6.024, allocations: 305.4 kB / 1.267 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/8.311, allocations: 0 / 1.267 GB, free: 185.9 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)