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.9999/0.9999, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 169 kB / 182.2 MB, free: 9.457 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.444/1.444, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009225/0.0009225, allocations: 84.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 290.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.081e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5178/0.5179, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.654/5.172, allocations: 1.69 GB / 2.448 GB, free: 60.61 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/5.172, allocations: 94.81 kB / 2.448 GB, free: 60.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1247/5.297, allocations: 57.78 MB / 2.504 GB, free: 8.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/5.297, allocations: 0 / 2.504 GB, free: 8.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.25e-05/5.297, allocations: 27.94 kB / 2.504 GB, free: 7.992 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.001757/5.299, allocations: 1.051 MB / 2.505 GB, free: 6.891 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/5.299, allocations: 8.031 kB / 2.505 GB, free: 6.883 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/5.3, allocations: 186.6 kB / 2.505 GB, free: 6.699 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008369/5.301, allocations: 0.6035 MB / 2.506 GB, free: 6.055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/5.301, allocations: 24 kB / 2.506 GB, free: 6.031 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/5.301, allocations: 44 kB / 2.506 GB, free: 5.988 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00115/5.302, allocations: 0.964 MB / 2.507 GB, free: 5.023 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000992/5.303, allocations: 0.7037 MB / 2.508 GB, free: 4.281 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/5.303, allocations: 3.984 kB / 2.508 GB, free: 4.277 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/5.303, allocations: 0 / 2.508 GB, free: 4.277 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/5.303, allocations: 24 kB / 2.508 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/5.306, allocations: 2.209 MB / 2.51 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008883/5.307, allocations: 0.714 MB / 2.511 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/5.307, allocations: 226.5 kB / 2.511 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-05/5.308, allocations: 32.59 kB / 2.511 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005348/5.308, allocations: 368.8 kB / 2.511 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.294e-06/5.308, allocations: 0 / 2.511 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.4594/5.767, allocations: 0.6213 MB / 2.512 GB, free: 237.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/5.768, allocations: 241.5 kB / 2.512 GB, free: 237 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/5.769, allocations: 496.3 kB / 2.512 GB, free: 236.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/5.769, allocations: 31.52 kB / 2.512 GB, free: 236.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/5.77, allocations: 368.6 kB / 2.513 GB, free: 236.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/5.77, allocations: 223 kB / 2.513 GB, free: 236.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/5.77, allocations: 0 / 2.513 GB, free: 236.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001807/5.77, allocations: 378.4 kB / 2.513 GB, free: 236.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/5.771, allocations: 179 kB / 2.514 GB, free: 236.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/5.771, allocations: 280 kB / 2.514 GB, free: 236.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/5.772, allocations: 228.2 kB / 2.514 GB, free: 236.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/5.772, allocations: 3.531 kB / 2.514 GB, free: 236.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001852/5.774, allocations: 0.6254 MB / 2.515 GB, free: 236.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/5.774, allocations: 8.797 kB / 2.515 GB, free: 236.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/5.774, allocations: 3.438 kB / 2.515 GB, free: 236.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/5.774, allocations: 80.88 kB / 2.515 GB, free: 236.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/5.775, allocations: 134.3 kB / 2.515 GB, free: 236.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/5.777, allocations: 1.45 MB / 2.516 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007274/5.778, allocations: 63.03 kB / 2.516 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/5.778, allocations: 28.52 kB / 2.516 GB, free: 234.9 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.0002247/5.778, allocations: 122.2 kB / 2.516 GB, free: 234.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001618/5.78, allocations: 0.6162 MB / 2.517 GB, free: 234.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/5.78, allocations: 73.06 kB / 2.517 GB, free: 234.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/5.782, allocations: 0.8701 MB / 2.518 GB, free: 234.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/5.782, allocations: 7.625 kB / 2.518 GB, free: 234.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/5.782, allocations: 0.6562 kB / 2.518 GB, free: 234.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/5.782, allocations: 5.297 kB / 2.518 GB, free: 234.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/5.785, allocations: 1.642 MB / 2.52 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/5.786, allocations: 1.062 kB / 2.52 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/5.786, allocations: 137.8 kB / 2.52 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005163/5.787, allocations: 86.19 kB / 2.52 GB, free: 234.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/5.787, allocations: 24.75 kB / 2.52 GB, free: 234.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/5.788, allocations: 1.473 MB / 2.521 GB, free: 233 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/5.788, allocations: 0 / 2.521 GB, free: 233 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/5.79, allocations: 0.7989 MB / 2.522 GB, free: 232.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/5.791, allocations: 271.5 kB / 2.522 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/5.791, allocations: 2.828 kB / 2.522 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/5.791, allocations: 55.55 kB / 2.522 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/5.792, allocations: 56.62 kB / 2.522 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/5.792, allocations: 30.52 kB / 2.522 GB, free: 232.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006895/5.792, allocations: 400.2 kB / 2.523 GB, free: 232.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.792, allocations: 0 / 2.523 GB, free: 232.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001371/5.794, allocations: 322.1 kB / 2.523 GB, free: 232.6 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.004761/5.799, allocations: 2.326 MB / 2.525 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001347/5.8, allocations: 0.6286 MB / 2.526 GB, free: 231.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/5.8, allocations: 0 / 2.526 GB, free: 231.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00071/5.801, allocations: 428.8 kB / 2.526 GB, free: 231.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/5.802, allocations: 224.8 kB / 2.527 GB, free: 231.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/5.807, allocations: 1.44 MB / 2.528 GB, free: 231.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/5.807, allocations: 1.01 MB / 2.529 GB, free: 230.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009675/5.808, allocations: 246.5 kB / 2.529 GB, free: 230.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/5.809, allocations: 337.8 kB / 2.53 GB, free: 230.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.92e-07/5.809, allocations: 0 / 2.53 GB, free: 230.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05468/5.864, allocations: 22.65 MB / 2.552 GB, free: 228.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/5.864, allocations: 228 kB / 2.552 GB, free: 228.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/8.822, allocations: 2.25 kB / 2.552 GB, free: 228.6 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)