Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_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.006787/0.006787, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001634/0.001634, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.073/2.073, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.91 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6611, allocations: 140.4 MB / 1.087 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004658/0.6658, allocations: 4.311 MB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1553/0.8211, allocations: 150.6 MB / 1.239 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008208/0.8219, allocations: 19.44 kB / 1.239 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.8225, allocations: 167.8 kB / 1.239 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.824, allocations: 0.4988 MB / 1.239 GB, free: 192 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.8258, allocations: 0.8265 MB / 1.24 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.8269, allocations: 1.309 MB / 1.241 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/0.8276, allocations: 0.6236 MB / 1.242 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004922/0.8281, allocations: 473.6 kB / 1.242 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004869/0.8286, allocations: 497.1 kB / 1.243 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.8288, allocations: 116.7 kB / 1.243 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007712/0.8296, allocations: 489.7 kB / 1.244 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.8298, allocations: 294.3 kB / 1.244 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004414/0.8303, allocations: 0.5536 MB / 1.244 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.8317, allocations: 1.62 MB / 1.246 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8317, allocations: 0 / 1.246 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8317, allocations: 0 / 1.246 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.8317, allocations: 0 / 1.246 GB, free: 11.34 MB / 0.9825 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.002192/0.8339, allocations: 1.413 MB / 1.247 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.834, allocations: 12.03 kB / 1.247 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.8341, allocations: 131.4 kB / 1.247 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/0.835, allocations: 191.4 kB / 1.248 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.836, allocations: 0.7576 MB / 1.248 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.8361, allocations: 66 kB / 1.248 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.8362, allocations: 76 kB / 1.249 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.8376, allocations: 0.9184 MB / 1.249 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.8376, allocations: 0 / 1.249 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.8377, allocations: 39.98 kB / 1.249 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.8378, allocations: 20 kB / 1.249 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.8394, allocations: 1.108 MB / 1.251 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.8429, allocations: 2.5 MB / 1.253 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.8444, allocations: 0.8848 MB / 1.254 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.8449, allocations: 314.5 kB / 1.254 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.808e-05/0.845, allocations: 32.59 kB / 1.254 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007915/0.8458, allocations: 495.2 kB / 1.255 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.345e-06/0.8458, allocations: 3.938 kB / 1.255 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002956/0.8488, allocations: 1.194 MB / 1.256 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.8489, allocations: 188.6 kB / 1.256 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.8495, allocations: 0.6176 MB / 1.257 GB, free: 80 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.8496, allocations: 45.7 kB / 1.257 GB, free: 28 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.8499, allocations: 400.2 kB / 1.257 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.8501, allocations: 248.5 kB / 1.257 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.8503, allocations: 146.5 kB / 1.257 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8504, allocations: 386.7 kB / 1.258 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.8509, allocations: 253.9 kB / 1.258 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.8515, allocations: 354.5 kB / 1.258 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.8525, allocations: 0.5839 MB / 1.259 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8525, allocations: 3.938 kB / 1.259 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00176/0.8543, allocations: 0.7903 MB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.8543, allocations: 4 kB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.8543, allocations: 4 kB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/0.8549, allocations: 88.8 kB / 1.26 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.8555, allocations: 143.8 kB / 1.26 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.8575, allocations: 1.654 MB / 1.262 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.8581, allocations: 87.39 kB / 1.262 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.8582, allocations: 27.98 kB / 1.262 GB, free: 10.67 MB / 0.9981 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.0003268/0.8585, allocations: 269.5 kB / 1.262 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.8587, allocations: 82.97 kB / 1.262 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.8609, allocations: 1.058 MB / 1.263 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.861, allocations: 11.94 kB / 1.263 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.861, allocations: 4 kB / 1.263 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.861, allocations: 7.969 kB / 1.263 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.8639, allocations: 1.958 MB / 1.265 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.864, allocations: 0 / 1.265 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.8645, allocations: 139.8 kB / 1.265 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/0.865, allocations: 68.78 kB / 1.265 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/0.865, allocations: 31.98 kB / 1.265 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.8668, allocations: 1.67 MB / 1.267 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8668, allocations: 0 / 1.267 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.8687, allocations: 0.998 MB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.869, allocations: 283.7 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.8691, allocations: 23.91 kB / 1.268 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.8698, allocations: 55.94 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.8699, allocations: 76.89 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.87, allocations: 27.98 kB / 1.268 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004853/0.8705, allocations: 459 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8705, allocations: 0 / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007192/0.8712, allocations: 299.3 kB / 1.269 GB, free: 2.91 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.003228/0.8745, allocations: 2.046 MB / 1.271 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.8759, allocations: 0.7961 MB / 1.272 GB, free: 212 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8759, allocations: 0 / 1.272 GB, free: 212 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008749/0.8768, allocations: 0.5238 MB / 1.272 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.878, allocations: 290.5 kB / 1.273 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.8882, allocations: 6.286 MB / 1.279 GB, free: 9.016 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.8887, allocations: 1.016 MB / 1.28 GB, free: 7.973 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006687/0.8894, allocations: 262.5 kB / 1.28 GB, free: 7.711 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/0.8899, allocations: 371.2 kB / 1.28 GB, free: 7.348 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.8899, allocations: 0 / 1.28 GB, free: 7.348 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06482/0.9547, allocations: 21.12 MB / 1.301 GB, free: 2.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.26, allocations: 7.688 kB / 1.301 GB, free: 2.516 MB / 1.029 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)