Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7489/0.7489, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 184.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009983/0.0009985, allocations: 95.48 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 275.7 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.784e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4666, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.487/3.954, allocations: 1.691 GB / 2.455 GB, free: 52.01 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/3.954, allocations: 98 kB / 2.455 GB, free: 51.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4439/4.398, allocations: 58.61 MB / 2.512 GB, free: 235.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/4.398, allocations: 0 / 2.512 GB, free: 235.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.247e-05/4.398, allocations: 22.44 kB / 2.513 GB, free: 235.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00164/4.4, allocations: 1.055 MB / 2.514 GB, free: 235.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/4.4, allocations: 10.56 kB / 2.514 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/4.4, allocations: 125.8 kB / 2.514 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008777/4.401, allocations: 182.1 kB / 2.514 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/4.402, allocations: 0.5986 MB / 2.514 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/4.402, allocations: 57.53 kB / 2.514 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/4.402, allocations: 75.92 kB / 2.515 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/4.404, allocations: 0.8102 MB / 2.515 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/4.404, allocations: 1.656 kB / 2.515 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/4.404, allocations: 34.53 kB / 2.515 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/4.404, allocations: 21.03 kB / 2.515 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/4.405, allocations: 1.008 MB / 2.516 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/4.409, allocations: 2.368 MB / 2.519 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/4.41, allocations: 0.7553 MB / 2.519 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/4.411, allocations: 248.6 kB / 2.52 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.28e-05/4.411, allocations: 32.44 kB / 2.52 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000579/4.411, allocations: 397.7 kB / 2.52 GB, free: 233.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/4.411, allocations: 0 / 2.52 GB, free: 233.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.00148/4.413, allocations: 0.6591 MB / 2.521 GB, free: 233.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/4.413, allocations: 241.8 kB / 2.521 GB, free: 233.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/4.414, allocations: 0.568 MB / 2.522 GB, free: 233.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/4.414, allocations: 41.61 kB / 2.522 GB, free: 233.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/4.414, allocations: 365.2 kB / 2.522 GB, free: 233.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/4.414, allocations: 237.5 kB / 2.522 GB, free: 233 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/4.414, allocations: 15.44 kB / 2.522 GB, free: 233 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001163/4.414, allocations: 385.9 kB / 2.523 GB, free: 232.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/4.415, allocations: 187.3 kB / 2.523 GB, free: 232.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/4.415, allocations: 298.6 kB / 2.523 GB, free: 232.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/4.416, allocations: 246.6 kB / 2.523 GB, free: 232.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/4.416, allocations: 2.719 kB / 2.523 GB, free: 232.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001639/4.417, allocations: 0.6658 MB / 2.524 GB, free: 232.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/4.417, allocations: 6.969 kB / 2.524 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/4.417, allocations: 0.5 kB / 2.524 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/4.418, allocations: 80.45 kB / 2.524 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/4.418, allocations: 136.4 kB / 2.524 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/4.42, allocations: 1.518 MB / 2.526 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/4.421, allocations: 80.11 kB / 2.526 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/4.421, allocations: 24.12 kB / 2.526 GB, free: 231.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000169/4.421, allocations: 144 kB / 2.526 GB, free: 231.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/4.421, allocations: 77.03 kB / 2.526 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/4.423, allocations: 0.932 MB / 2.527 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/4.423, allocations: 7.188 kB / 2.527 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/4.423, allocations: 0 / 2.527 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/4.423, allocations: 10.45 kB / 2.527 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/4.425, allocations: 1.808 MB / 2.529 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/4.425, allocations: 0 / 2.529 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/4.426, allocations: 137.9 kB / 2.529 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/4.426, allocations: 84.5 kB / 2.529 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/4.426, allocations: 22.88 kB / 2.529 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/4.428, allocations: 1.539 MB / 2.53 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/4.428, allocations: 0 / 2.53 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/4.429, allocations: 0.8383 MB / 2.531 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/4.429, allocations: 286.6 kB / 2.531 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/4.429, allocations: 15.16 kB / 2.531 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/4.43, allocations: 71.42 kB / 2.531 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/4.43, allocations: 56.33 kB / 2.532 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/4.43, allocations: 29.61 kB / 2.532 GB, free: 228.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004319/4.43, allocations: 475.4 kB / 2.532 GB, free: 228.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/4.43, allocations: 0 / 2.532 GB, free: 228.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009765/4.431, allocations: 350.3 kB / 2.532 GB, free: 228.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002853/4.434, allocations: 2.313 MB / 2.535 GB, free: 227.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001016/4.435, allocations: 0.664 MB / 2.535 GB, free: 227.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/4.435, allocations: 3.594 kB / 2.535 GB, free: 227.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/4.436, allocations: 460.6 kB / 2.536 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/4.437, allocations: 234.2 kB / 2.536 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/4.44, allocations: 1.502 MB / 2.537 GB, free: 227.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/4.44, allocations: 1.019 MB / 2.538 GB, free: 226.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007209/4.441, allocations: 253.6 kB / 2.539 GB, free: 226.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/4.442, allocations: 339.7 kB / 2.539 GB, free: 226.6 MB / 0.698 GB Notification: Performance of SimCode: time 4.6e-07/4.442, allocations: 0 / 2.539 GB, free: 226.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/4.485, allocations: 30.53 MB / 2.569 GB, free: 218.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/4.485, allocations: 264.7 kB / 2.569 GB, free: 218.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/7.245, allocations: 0 / 2.569 GB, free: 218.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)