Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.004655/0.004655, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001396/0.001396, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.281/1.281, 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 12.0.0-master/package.mo): time 2.427/2.427, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 64.28 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2542, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005787/0.26, allocations: 4.773 MB / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1478/0.4078, allocations: 150.6 MB / 1.394 GB, free: 12.93 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.4085, allocations: 15.94 kB / 1.394 GB, free: 12.91 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.409, allocations: 186.3 kB / 1.394 GB, free: 12.73 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.4103, allocations: 0.539 MB / 1.394 GB, free: 12.19 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.4119, allocations: 0.8279 MB / 1.395 GB, free: 11.37 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.4131, allocations: 1.37 MB / 1.396 GB, free: 9.988 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007146/0.4138, allocations: 0.5714 MB / 1.397 GB, free: 9.391 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.4142, allocations: 474.4 kB / 1.397 GB, free: 8.926 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.4148, allocations: 0.4978 MB / 1.398 GB, free: 8.426 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.4149, allocations: 116 kB / 1.398 GB, free: 8.312 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.4156, allocations: 475.6 kB / 1.399 GB, free: 7.848 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.4158, allocations: 299 kB / 1.399 GB, free: 7.555 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.4163, allocations: 0.5402 MB / 1.399 GB, free: 7.012 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.4178, allocations: 1.619 MB / 1.401 GB, free: 5.387 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4178, allocations: 0 / 1.401 GB, free: 5.387 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4178, allocations: 3.938 kB / 1.401 GB, free: 5.383 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.4178, allocations: 0 / 1.401 GB, free: 5.383 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002131/0.42, allocations: 1.452 MB / 1.402 GB, free: 3.883 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.42, allocations: 8.031 kB / 1.402 GB, free: 3.875 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.4202, allocations: 131.3 kB / 1.402 GB, free: 3.738 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008021/0.421, allocations: 188.1 kB / 1.403 GB, free: 3.555 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/0.422, allocations: 0.7699 MB / 1.403 GB, free: 2.738 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.422, allocations: 62 kB / 1.403 GB, free: 2.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.476e-05/0.4221, allocations: 80 kB / 1.404 GB, free: 2.602 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.4235, allocations: 0.9028 MB / 1.404 GB, free: 1.656 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4235, allocations: 0 / 1.404 GB, free: 1.656 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.4236, allocations: 39.97 kB / 1.404 GB, free: 1.617 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.4236, allocations: 23.94 kB / 1.404 GB, free: 1.594 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.4253, allocations: 1.096 MB / 1.406 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.4288, allocations: 2.709 MB / 1.408 GB, free: 13.65 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.4302, allocations: 0.86 MB / 1.409 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.4307, allocations: 310.6 kB / 1.409 GB, free: 12.46 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.516e-05/0.4308, allocations: 32.55 kB / 1.409 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007665/0.4316, allocations: 495.1 kB / 1.41 GB, free: 11.93 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 1.653e-06/0.4316, allocations: 0 / 1.41 GB, free: 11.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.002873/0.4345, allocations: 1.18 MB / 1.411 GB, free: 10.72 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.4346, allocations: 196.6 kB / 1.411 GB, free: 10.49 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.4353, allocations: 0.6214 MB / 1.412 GB, free: 9.863 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.4354, allocations: 41.7 kB / 1.412 GB, free: 9.816 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.4356, allocations: 393 kB / 1.412 GB, free: 9.426 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.4358, allocations: 269.7 kB / 1.412 GB, free: 9.16 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.4361, allocations: 146.6 kB / 1.413 GB, free: 9.012 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4362, allocations: 386.7 kB / 1.413 GB, free: 8.625 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.4367, allocations: 241.9 kB / 1.413 GB, free: 8.391 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.4373, allocations: 362.5 kB / 1.414 GB, free: 8.008 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.4383, allocations: 0.5722 MB / 1.414 GB, free: 7.426 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4383, allocations: 0 / 1.414 GB, free: 7.426 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001711/0.44, allocations: 0.7906 MB / 1.415 GB, free: 6.625 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4401, allocations: 6.188 kB / 1.415 GB, free: 6.621 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4401, allocations: 0 / 1.415 GB, free: 6.621 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.4406, allocations: 88.8 kB / 1.415 GB, free: 6.531 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.4412, allocations: 147.8 kB / 1.415 GB, free: 6.387 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.4431, allocations: 1.636 MB / 1.417 GB, free: 4.609 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.4437, allocations: 87.78 kB / 1.417 GB, free: 4.523 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.4437, allocations: 27.98 kB / 1.417 GB, free: 4.496 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: 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.0003151/0.4441, allocations: 274.2 kB / 1.417 GB, free: 4.219 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4442, allocations: 87.44 kB / 1.417 GB, free: 4.133 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.4464, allocations: 1.042 MB / 1.418 GB, free: 3.07 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4464, allocations: 8 kB / 1.418 GB, free: 3.062 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.4464, allocations: 0 / 1.418 GB, free: 3.062 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4464, allocations: 7.922 kB / 1.418 GB, free: 3.055 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.4493, allocations: 1.919 MB / 1.42 GB, free: 1.078 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4493, allocations: 0 / 1.42 GB, free: 1.078 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/0.4498, allocations: 139.8 kB / 1.42 GB, free: 0.9414 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.4502, allocations: 80.78 kB / 1.42 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.4503, allocations: 31.91 kB / 1.42 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.4521, allocations: 1.666 MB / 1.422 GB, free: 15.02 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4521, allocations: 0 / 1.422 GB, free: 15.02 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.4539, allocations: 0.9868 MB / 1.423 GB, free: 14.01 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.4542, allocations: 276.1 kB / 1.423 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.4543, allocations: 24 kB / 1.423 GB, free: 13.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/0.4549, allocations: 55.94 kB / 1.423 GB, free: 13.64 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4551, allocations: 76.89 kB / 1.423 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.4551, allocations: 27.98 kB / 1.423 GB, free: 13.54 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004975/0.4556, allocations: 455 kB / 1.424 GB, free: 13.1 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4556, allocations: 0 / 1.424 GB, free: 13.1 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006662/0.4563, allocations: 323.1 kB / 1.424 GB, free: 12.78 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: 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.003635/0.46, allocations: 2.044 MB / 1.426 GB, free: 10.89 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.4614, allocations: 0.7846 MB / 1.427 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4614, allocations: 3.938 kB / 1.427 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008515/0.4623, allocations: 0.5158 MB / 1.427 GB, free: 9.562 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.4634, allocations: 307.4 kB / 1.428 GB, free: 9.289 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008797/0.4722, allocations: 6.151 MB / 1.434 GB, free: 3.023 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.4728, allocations: 1.019 MB / 1.435 GB, free: 1.977 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006275/0.4734, allocations: 258.6 kB / 1.435 GB, free: 1.719 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.4739, allocations: 379.2 kB / 1.435 GB, free: 1.348 MB / 1.154 GB Notification: Performance of SimCode: time 2.5e-07/0.4739, allocations: 0 / 1.435 GB, free: 1.348 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6327/1.107, allocations: 21.32 MB / 1.456 GB, free: 12.36 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.41/21.52, allocations: 448 / 1.456 GB, free: 12.36 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)