Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.003794/0.003794, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.00104/0.00104, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.182/1.182, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.249/2.249, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 62.75 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2161, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005381/0.2215, allocations: 4.509 MB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1396/0.3611, allocations: 150.7 MB / 1.239 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000673/0.3618, allocations: 15.94 kB / 1.239 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006049/0.3624, allocations: 186.3 kB / 1.239 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.3642, allocations: 0.511 MB / 1.24 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.3661, allocations: 0.8873 MB / 1.241 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.3675, allocations: 1.382 MB / 1.242 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008521/0.3683, allocations: 0.641 MB / 1.243 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006289/0.369, allocations: 0.4983 MB / 1.243 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006379/0.3696, allocations: 0.5251 MB / 1.244 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.3698, allocations: 120 kB / 1.244 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/0.3707, allocations: 0.5074 MB / 1.244 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.371, allocations: 311 kB / 1.244 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005334/0.3715, allocations: 0.5751 MB / 1.245 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.3733, allocations: 1.691 MB / 1.247 GB, free: 14.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3733, allocations: 0 / 1.247 GB, free: 14.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3733, allocations: 0 / 1.247 GB, free: 14.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.302e-05/0.3733, allocations: 0 / 1.247 GB, free: 14.35 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00272/0.376, allocations: 1.503 MB / 1.248 GB, free: 12.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3761, allocations: 12.03 kB / 1.248 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.3762, allocations: 143.8 kB / 1.248 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009134/0.3772, allocations: 183.4 kB / 1.248 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.3783, allocations: 0.7856 MB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/0.3783, allocations: 73.94 kB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3785, allocations: 87.98 kB / 1.249 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.38, allocations: 0.973 MB / 1.25 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.38, allocations: 3.938 kB / 1.25 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.3801, allocations: 40 kB / 1.25 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.3802, allocations: 24 kB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.382, allocations: 1.155 MB / 1.252 GB, free: 9.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.3859, allocations: 2.679 MB / 1.254 GB, free: 6.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.3879, allocations: 0.981 MB / 1.255 GB, free: 5.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.3885, allocations: 330.7 kB / 1.255 GB, free: 5.156 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.322e-05/0.3886, allocations: 38.66 kB / 1.255 GB, free: 5.121 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008502/0.3894, allocations: 0.5237 MB / 1.256 GB, free: 4.574 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.104e-06/0.3894, allocations: 4 kB / 1.256 GB, free: 4.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003193/0.3926, allocations: 1.294 MB / 1.257 GB, free: 3.254 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.3927, allocations: 196.9 kB / 1.257 GB, free: 3.016 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007151/0.3935, allocations: 0.649 MB / 1.258 GB, free: 2.363 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.3935, allocations: 45.7 kB / 1.258 GB, free: 2.312 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.3938, allocations: 400.5 kB / 1.258 GB, free: 1.914 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.394, allocations: 283.9 kB / 1.259 GB, free: 1.633 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.3943, allocations: 166.4 kB / 1.259 GB, free: 1.465 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3944, allocations: 390.7 kB / 1.259 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.395, allocations: 269.9 kB / 1.26 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.3956, allocations: 386.5 kB / 1.26 GB, free: 412 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4272/0.8228, allocations: 0.6291 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.8228, allocations: 0 / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002122/0.8249, allocations: 0.8622 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.825, allocations: 5.969 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.825, allocations: 0.8438 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/0.8256, allocations: 83.97 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.8263, allocations: 174.2 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.8281, allocations: 1.624 MB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.8288, allocations: 101.4 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/0.8289, allocations: 34.78 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0004135/0.8293, allocations: 278.1 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.8295, allocations: 86.27 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.8321, allocations: 1.19 MB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8321, allocations: 10.75 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8321, allocations: 4.453 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.8321, allocations: 6.172 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/0.8355, allocations: 2.113 MB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8355, allocations: 0 / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.8362, allocations: 172.7 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.8366, allocations: 72.41 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.8367, allocations: 30.03 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.8382, allocations: 1.659 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8382, allocations: 0 / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.8404, allocations: 1.09 MB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.8407, allocations: 295.7 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.8409, allocations: 19.75 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007151/0.8416, allocations: 74.45 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.8418, allocations: 81.52 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/0.8419, allocations: 40.64 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005792/0.8424, allocations: 472.5 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.31e-07/0.8424, allocations: 0 / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008994/0.8434, allocations: 342.8 kB / 1.271 GB, free: 168.2 MB / 1.014 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 (106): * Single equations (assignments): 99 * 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.003593/0.847, allocations: 2.154 MB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.8488, allocations: 0.8701 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.8488, allocations: 0.5 kB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009371/0.8498, allocations: 0.5681 MB / 1.275 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.851, allocations: 296 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.8614, allocations: 6.656 MB / 1.281 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.8619, allocations: 1.047 MB / 1.282 GB, free: 162.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007734/0.8627, allocations: 283.3 kB / 1.283 GB, free: 162.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.8632, allocations: 415.1 kB / 1.283 GB, free: 162 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.8632, allocations: 0 / 1.283 GB, free: 162 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0848/0.948, allocations: 22.56 MB / 1.305 GB, free: 154.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.13, allocations: 6.922 kB / 1.305 GB, free: 154.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)