Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_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.004962/0.004962, allocations: 99.03 kB / 15.73 MB, free: 6.008 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.001434/0.001434, allocations: 198.5 kB / 16.68 MB, free: 5.934 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.454/2.454, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 63.94 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2503, allocations: 162.3 MB / 1.242 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006183/0.2565, allocations: 5.359 MB / 1.247 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1441/0.4007, allocations: 150.8 MB / 1.394 GB, free: 12.2 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006829/0.4014, allocations: 19.94 kB / 1.394 GB, free: 12.18 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.4019, allocations: 210 kB / 1.395 GB, free: 11.97 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.4033, allocations: 0.5977 MB / 1.395 GB, free: 11.37 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.405, allocations: 0.891 MB / 1.396 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.4063, allocations: 1.561 MB / 1.398 GB, free: 8.914 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/0.4071, allocations: 0.668 MB / 1.398 GB, free: 8.219 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.4076, allocations: 0.5645 MB / 1.399 GB, free: 7.652 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.4082, allocations: 0.5835 MB / 1.399 GB, free: 7.066 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.4084, allocations: 136 kB / 1.399 GB, free: 6.934 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007143/0.4091, allocations: 0.5152 MB / 1.4 GB, free: 6.418 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.4094, allocations: 342.9 kB / 1.4 GB, free: 6.082 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005347/0.41, allocations: 0.649 MB / 1.401 GB, free: 5.43 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.4116, allocations: 1.864 MB / 1.403 GB, free: 3.559 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4116, allocations: 0 / 1.403 GB, free: 3.559 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4117, allocations: 0 / 1.403 GB, free: 3.559 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.4117, allocations: 4 kB / 1.403 GB, free: 3.555 MB / 1.123 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.002385/0.4141, allocations: 1.622 MB / 1.404 GB, free: 1.879 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.4141, allocations: 12.03 kB / 1.404 GB, free: 1.867 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.4143, allocations: 156.5 kB / 1.404 GB, free: 1.707 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/0.4151, allocations: 212 kB / 1.405 GB, free: 1.5 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4161, allocations: 0.8251 MB / 1.405 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.4162, allocations: 78 kB / 1.406 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4163, allocations: 96 kB / 1.406 GB, free: 472 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.418, allocations: 1.071 MB / 1.407 GB, free: 15.32 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.418, allocations: 0 / 1.407 GB, free: 15.32 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.4181, allocations: 40 kB / 1.407 GB, free: 15.28 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.4181, allocations: 28 kB / 1.407 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.42, allocations: 1.225 MB / 1.408 GB, free: 14.02 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/0.4241, allocations: 3.28 MB / 1.411 GB, free: 10.59 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.4256, allocations: 0.8898 MB / 1.412 GB, free: 9.695 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.4262, allocations: 347.7 kB / 1.412 GB, free: 9.352 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.238e-05/0.4263, allocations: 37.02 kB / 1.412 GB, free: 9.316 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000874/0.4272, allocations: 0.5591 MB / 1.413 GB, free: 8.738 MB / 1.139 GB Notification: Performance of pre-optimization done (n=92): time 1.993e-06/0.4272, allocations: 0 / 1.413 GB, free: 8.738 MB / 1.139 GB Notification: Performance of matching and sorting (n=92): time 0.003125/0.4303, allocations: 1.349 MB / 1.414 GB, free: 7.363 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.4304, allocations: 188.9 kB / 1.414 GB, free: 7.137 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007447/0.4312, allocations: 0.6765 MB / 1.415 GB, free: 6.453 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/0.4312, allocations: 41.7 kB / 1.415 GB, free: 6.406 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.4316, allocations: 461.1 kB / 1.416 GB, free: 5.949 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.4318, allocations: 313.3 kB / 1.416 GB, free: 5.641 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.432, allocations: 170.6 kB / 1.416 GB, free: 5.465 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4322, allocations: 394.7 kB / 1.416 GB, free: 5.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.4327, allocations: 281.9 kB / 1.417 GB, free: 4.797 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.4334, allocations: 402.5 kB / 1.417 GB, free: 4.379 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.4345, allocations: 0.6594 MB / 1.418 GB, free: 3.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4346, allocations: 4 kB / 1.418 GB, free: 3.703 MB / 1.139 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001873/0.4364, allocations: 0.9155 MB / 1.419 GB, free: 2.781 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4365, allocations: 12.08 kB / 1.419 GB, free: 2.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.4365, allocations: 0 / 1.419 GB, free: 2.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.437, allocations: 80.78 kB / 1.419 GB, free: 2.688 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.4377, allocations: 179.7 kB / 1.419 GB, free: 2.512 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.4396, allocations: 1.627 MB / 1.42 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.4402, allocations: 105.2 kB / 1.421 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.4402, allocations: 35.98 kB / 1.421 GB, free: 0.6016 MB / 1.139 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.0003437/0.4406, allocations: 279.9 kB / 1.421 GB, free: 324 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.4407, allocations: 99.45 kB / 1.421 GB, free: 224 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.4432, allocations: 1.23 MB / 1.422 GB, free: 14.98 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.4433, allocations: 12 kB / 1.422 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4433, allocations: 3.938 kB / 1.422 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4433, allocations: 3.984 kB / 1.422 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.4443, allocations: 1.017 MB / 1.423 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4443, allocations: 4 kB / 1.423 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.4449, allocations: 167.8 kB / 1.423 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.4454, allocations: 68.8 kB / 1.423 GB, free: 13.65 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.4454, allocations: 35.91 kB / 1.423 GB, free: 13.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.4472, allocations: 1.662 MB / 1.425 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4472, allocations: 0 / 1.425 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.4492, allocations: 1.049 MB / 1.426 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.4495, allocations: 308 kB / 1.426 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.4496, allocations: 20 kB / 1.426 GB, free: 10.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.4503, allocations: 67.92 kB / 1.426 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.4504, allocations: 81.03 kB / 1.427 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.231e-05/0.4505, allocations: 39.97 kB / 1.427 GB, free: 10.21 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005574/0.4511, allocations: 0.4912 MB / 1.427 GB, free: 9.727 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4511, allocations: 4 kB / 1.427 GB, free: 9.723 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000682/0.4518, allocations: 375 kB / 1.427 GB, free: 9.355 MB / 1.154 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.003816/0.4556, allocations: 2.121 MB / 1.429 GB, free: 7.383 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.4572, allocations: 0.9014 MB / 1.43 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4572, allocations: 0 / 1.43 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.4581, allocations: 0.5706 MB / 1.431 GB, free: 5.883 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.4592, allocations: 332.5 kB / 1.431 GB, free: 5.586 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009736/0.4689, allocations: 6.852 MB / 1.438 GB, free: 14.59 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.4696, allocations: 1.071 MB / 1.439 GB, free: 13.48 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007336/0.4703, allocations: 307.5 kB / 1.439 GB, free: 13.18 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005705/0.4709, allocations: 439.2 kB / 1.44 GB, free: 12.75 MB / 1.17 GB Notification: Performance of SimCode: time 2.51e-07/0.4709, allocations: 0 / 1.44 GB, free: 12.75 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.281/1.752, allocations: 24.11 MB / 1.463 GB, free: 5.016 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.3/22.05, allocations: 448 / 1.463 GB, free: 5.016 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)