Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.00423/0.00423, allocations: 104.2 kB / 15.74 MB, free: 6.488 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.001048/0.001048, allocations: 199.5 kB / 16.68 MB, free: 6.375 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.248/2.248, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 65.64 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2342, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00577/0.24, allocations: 4.612 MB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1386/0.3785, allocations: 150.7 MB / 1.239 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007246/0.3793, allocations: 19.88 kB / 1.239 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.38, allocations: 186.3 kB / 1.239 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.3818, allocations: 0.5361 MB / 1.24 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.3837, allocations: 0.8829 MB / 1.241 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.3851, allocations: 1.433 MB / 1.242 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/0.386, allocations: 0.7188 MB / 1.243 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005731/0.3866, allocations: 0.5488 MB / 1.243 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.3872, allocations: 0.5717 MB / 1.244 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.3873, allocations: 136 kB / 1.244 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008244/0.3882, allocations: 0.5152 MB / 1.245 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.3884, allocations: 338.9 kB / 1.245 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.3889, allocations: 0.6258 MB / 1.245 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.3906, allocations: 1.815 MB / 1.247 GB, free: 13.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3906, allocations: 4 kB / 1.247 GB, free: 13.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3906, allocations: 0 / 1.247 GB, free: 13.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.3907, allocations: 4 kB / 1.247 GB, free: 13.73 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002573/0.3932, allocations: 1.558 MB / 1.249 GB, free: 12.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3933, allocations: 8.031 kB / 1.249 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.3935, allocations: 164.5 kB / 1.249 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009026/0.3944, allocations: 199.2 kB / 1.249 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.3955, allocations: 0.8167 MB / 1.25 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.3956, allocations: 70.02 kB / 1.25 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3957, allocations: 104 kB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.3974, allocations: 1.071 MB / 1.251 GB, free: 9.578 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3974, allocations: 0 / 1.251 GB, free: 9.578 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/0.3975, allocations: 44 kB / 1.251 GB, free: 9.535 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.3975, allocations: 24 kB / 1.251 GB, free: 9.512 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.3994, allocations: 1.229 MB / 1.252 GB, free: 8.281 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.4035, allocations: 2.889 MB / 1.255 GB, free: 5.312 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.4051, allocations: 0.8897 MB / 1.256 GB, free: 4.426 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.4057, allocations: 339.7 kB / 1.256 GB, free: 4.086 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.572e-05/0.4058, allocations: 29.03 kB / 1.256 GB, free: 4.059 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008908/0.4066, allocations: 0.5629 MB / 1.257 GB, free: 3.477 MB / 1.014 GB Notification: Performance of pre-optimization done (n=92): time 2.425e-06/0.4067, allocations: 0 / 1.257 GB, free: 3.477 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.003263/0.4099, allocations: 1.337 MB / 1.258 GB, free: 2.113 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.41, allocations: 192.9 kB / 1.258 GB, free: 1.883 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007718/0.4108, allocations: 0.6803 MB / 1.259 GB, free: 1.199 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.4109, allocations: 45.7 kB / 1.259 GB, free: 1.148 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.4112, allocations: 440.4 kB / 1.26 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.4114, allocations: 299.7 kB / 1.26 GB, free: 424 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.4116, allocations: 166.4 kB / 1.26 GB, free: 248 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.4656/0.8773, allocations: 397.5 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008679/0.8782, allocations: 279.7 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.8789, allocations: 401 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.8802, allocations: 0.6619 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8802, allocations: 0 / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002279/0.8825, allocations: 0.8998 MB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8825, allocations: 9.578 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.8825, allocations: 1.438 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/0.8832, allocations: 79.28 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007813/0.884, allocations: 178.9 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.8858, allocations: 1.632 MB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.8866, allocations: 98.44 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.8867, allocations: 41.17 kB / 1.265 GB, free: 171.8 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: 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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.0004681/0.8872, allocations: 281.9 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.8874, allocations: 91.62 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.8902, allocations: 1.231 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.8902, allocations: 10.84 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8902, allocations: 4.938 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.8903, allocations: 4.922 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.8915, allocations: 1.007 MB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.8915, allocations: 0 / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/0.8922, allocations: 162.5 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004577/0.8927, allocations: 84.27 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/0.8928, allocations: 37.2 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.8944, allocations: 1.647 MB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8944, allocations: 2.406 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.8966, allocations: 1.045 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/0.897, allocations: 299.2 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.8972, allocations: 27.98 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.8979, allocations: 71.33 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.8981, allocations: 84.62 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.195e-05/0.8982, allocations: 40.81 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007115/0.8989, allocations: 0.4906 MB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8989, allocations: 0 / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001041/0.8999, allocations: 345.5 kB / 1.271 GB, free: 168.1 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * 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.003973/0.9039, allocations: 2.121 MB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.906, allocations: 0.9007 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.906, allocations: 0 / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009929/0.907, allocations: 0.5724 MB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.9082, allocations: 294.2 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.01162/0.9199, allocations: 6.903 MB / 1.282 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.9205, allocations: 1.076 MB / 1.283 GB, free: 162.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009173/0.9214, allocations: 286.8 kB / 1.283 GB, free: 162.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.922, allocations: 439.9 kB / 1.284 GB, free: 161.9 MB / 1.014 GB Notification: Performance of SimCode: time 6.82e-07/0.922, allocations: 0 / 1.284 GB, free: 161.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6194/1.541, allocations: 23.56 MB / 1.307 GB, free: 153.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/15.18, allocations: 2.25 kB / 1.307 GB, free: 153.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)