Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001886/0.001885, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 275 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9916/0.9916, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 92.55 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1291, allocations: 86.97 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005644/0.1348, allocations: 4.44 MB / 0.6846 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4944/0.6291, allocations: 150.6 MB / 0.8317 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.63, allocations: 19.84 kB / 0.8317 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.6306, allocations: 174.6 kB / 0.8318 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.6323, allocations: 0.5182 MB / 0.8324 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.634, allocations: 0.8318 MB / 0.8332 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.6354, allocations: 1.348 MB / 0.8345 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000772/0.6362, allocations: 0.6292 MB / 0.8351 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006462/0.6368, allocations: 489.6 kB / 0.8356 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.6374, allocations: 0.5101 MB / 0.8361 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.6376, allocations: 118.4 kB / 0.8362 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000933/0.6386, allocations: 462 kB / 0.8366 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.6388, allocations: 304.5 kB / 0.8369 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.6393, allocations: 0.5658 MB / 0.8375 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.6408, allocations: 1.599 MB / 0.839 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6408, allocations: 0 / 0.839 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6408, allocations: 0 / 0.839 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.6408, allocations: 1.469 kB / 0.839 GB, free: 15.86 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002619/0.6434, allocations: 1.456 MB / 0.8404 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6435, allocations: 8.25 kB / 0.8405 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.6436, allocations: 145 kB / 0.8406 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009286/0.6446, allocations: 187.7 kB / 0.8408 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.6457, allocations: 0.7531 MB / 0.8415 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.6457, allocations: 64.94 kB / 0.8416 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.6458, allocations: 82.88 kB / 0.8416 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.6474, allocations: 0.9515 MB / 0.8426 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.6474, allocations: 5.188 kB / 0.8426 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.6475, allocations: 40.23 kB / 0.8426 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.6476, allocations: 20.59 kB / 0.8426 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.6494, allocations: 1.129 MB / 0.8437 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004181/0.6535, allocations: 2.559 MB / 0.8462 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.6552, allocations: 0.9083 MB / 0.8471 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/0.6558, allocations: 312.8 kB / 0.8474 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.922e-05/0.6558, allocations: 40.38 kB / 0.8475 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009684/0.6568, allocations: 0.5073 MB / 0.848 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.096e-06/0.6568, allocations: 2.781 kB / 0.848 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003434/0.6603, allocations: 1.252 MB / 0.8492 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/0.6604, allocations: 188.9 kB / 0.8494 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/0.6612, allocations: 0.6486 MB / 0.85 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/0.6613, allocations: 46.52 kB / 0.85 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.6616, allocations: 406.7 kB / 0.8504 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.6618, allocations: 274.6 kB / 0.8507 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.662, allocations: 155.9 kB / 0.8508 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.6622, allocations: 388.5 kB / 0.8512 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.6627, allocations: 257.9 kB / 0.8515 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/0.6633, allocations: 380.7 kB / 0.8518 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.6644, allocations: 0.6079 MB / 0.8524 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6644, allocations: 0 / 0.8524 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001974/0.6664, allocations: 0.8325 MB / 0.8532 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6665, allocations: 5.094 kB / 0.8532 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6665, allocations: 6.938 kB / 0.8532 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.6671, allocations: 84.83 kB / 0.8533 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/0.6678, allocations: 165.7 kB / 0.8535 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.6698, allocations: 1.625 MB / 0.8551 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.6706, allocations: 96.11 kB / 0.8552 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.6706, allocations: 34.38 kB / 0.8552 GB, free: 5.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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,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 (93): * Single equations (assignments): 92 * 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.0004239/0.6711, allocations: 271.4 kB / 0.8554 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.6713, allocations: 85.5 kB / 0.8555 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.6737, allocations: 1.142 MB / 0.8566 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.6738, allocations: 14.06 kB / 0.8567 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6738, allocations: 0 / 0.8567 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.6738, allocations: 6.703 kB / 0.8567 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.677, allocations: 2.041 MB / 0.8587 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6771, allocations: 6.891 kB / 0.8587 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.6777, allocations: 152.2 kB / 0.8588 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/0.6782, allocations: 74.38 kB / 0.8589 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.6782, allocations: 23.89 kB / 0.8589 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.6801, allocations: 1.658 MB / 0.8605 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6801, allocations: 2.406 kB / 0.8605 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.6823, allocations: 1.05 MB / 0.8615 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.6828, allocations: 286.3 kB / 0.8618 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.6829, allocations: 20.88 kB / 0.8618 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/0.6836, allocations: 70.3 kB / 0.8619 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.6838, allocations: 82.52 kB / 0.862 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.6839, allocations: 34.72 kB / 0.862 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000563/0.6845, allocations: 466.2 kB / 0.8625 GB, free: 396 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6845, allocations: 7.938 kB / 0.8625 GB, free: 388 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009277/0.6854, allocations: 318.3 kB / 0.8628 GB, free: 292 kB / 0.5762 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 (100): * Single equations (assignments): 93 * 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.00403/0.6894, allocations: 2.121 MB / 0.8648 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002764/0.6922, allocations: 1.055 MB / 0.8659 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6923, allocations: 0 / 0.8659 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.6934, allocations: 0.5496 MB / 0.8664 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.695, allocations: 296.7 kB / 0.8667 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.709, allocations: 6.739 MB / 0.8733 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.7102, allocations: 1.033 MB / 0.8743 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001066/0.7113, allocations: 268.9 kB / 0.8745 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.7119, allocations: 398.5 kB / 0.8749 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.7119, allocations: 0 / 0.8749 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/0.7644, allocations: 21.68 MB / 0.8961 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.26, allocations: 17.8 kB / 0.8961 GB, free: 3.453 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)