Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.001004/0.001004, allocations: 108.3 kB / 16.4 MB, free: 6.445 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.0009519/0.0009519, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6591/0.6591, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 65.27 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1129, allocations: 76.18 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005634/0.1185, allocations: 4.789 MB / 0.6362 GB, free: 124 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4138/0.5323, allocations: 150.6 MB / 0.7833 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006449/0.533, allocations: 19.78 kB / 0.7833 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.5335, allocations: 190 kB / 0.7835 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.5349, allocations: 0.5353 MB / 0.784 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.5363, allocations: 0.8279 MB / 0.7848 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009242/0.5373, allocations: 1.369 MB / 0.7862 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006542/0.5379, allocations: 0.5727 MB / 0.7867 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004471/0.5384, allocations: 482.1 kB / 0.7872 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.5388, allocations: 497 kB / 0.7876 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.539, allocations: 113.8 kB / 0.7878 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006847/0.5397, allocations: 489.6 kB / 0.7882 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.5399, allocations: 290.6 kB / 0.7885 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.5403, allocations: 0.5498 MB / 0.789 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.5415, allocations: 1.614 MB / 0.7906 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5415, allocations: 0 / 0.7906 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5416, allocations: 2.125 kB / 0.7906 GB, free: 13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.5416, allocations: 0 / 0.7906 GB, free: 13 MB / 0.5919 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.002072/0.5436, allocations: 1.413 MB / 0.792 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.5437, allocations: 14.19 kB / 0.792 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.5438, allocations: 135.5 kB / 0.7921 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008116/0.5446, allocations: 181.5 kB / 0.7923 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008855/0.5455, allocations: 0.7554 MB / 0.793 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.5456, allocations: 60.16 kB / 0.7931 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.5457, allocations: 82.06 kB / 0.7932 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.5469, allocations: 0.902 MB / 0.7941 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.5469, allocations: 4 kB / 0.7941 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.547, allocations: 38.81 kB / 0.7941 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.547, allocations: 20.94 kB / 0.7941 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.5484, allocations: 1.091 MB / 0.7952 GB, free: 11.6 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.5515, allocations: 2.663 MB / 0.7978 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5528, allocations: 0.8674 MB / 0.7986 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.5532, allocations: 294.8 kB / 0.7989 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.415e-05/0.5533, allocations: 31.77 kB / 0.7989 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000687/0.554, allocations: 493.4 kB / 0.7994 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.285e-06/0.554, allocations: 2.938 kB / 0.7994 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002695/0.5567, allocations: 1.182 MB / 0.8006 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.5568, allocations: 194.2 kB / 0.8008 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.5574, allocations: 0.6201 MB / 0.8014 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.5575, allocations: 45.14 kB / 0.8014 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.5577, allocations: 383.4 kB / 0.8018 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.5579, allocations: 259.7 kB / 0.802 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.5581, allocations: 144.1 kB / 0.8022 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5582, allocations: 391.4 kB / 0.8025 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.5586, allocations: 243.8 kB / 0.8028 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.5591, allocations: 355.6 kB / 0.8031 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.56, allocations: 0.5774 MB / 0.8037 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.56, allocations: 0.875 kB / 0.8037 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001571/0.5616, allocations: 0.7918 MB / 0.8044 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5616, allocations: 6.062 kB / 0.8044 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5616, allocations: 3.984 kB / 0.8045 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.5622, allocations: 79.56 kB / 0.8045 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.5627, allocations: 149.8 kB / 0.8047 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.5647, allocations: 1.636 MB / 0.8063 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.5653, allocations: 86.59 kB / 0.8064 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.5653, allocations: 27.98 kB / 0.8064 GB, free: 6.551 MB / 0.5919 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.0003294/0.5657, allocations: 270 kB / 0.8066 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.5658, allocations: 83.06 kB / 0.8067 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.5679, allocations: 1.054 MB / 0.8077 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5679, allocations: 7.75 kB / 0.8078 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5679, allocations: 0 / 0.8078 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.5679, allocations: 3.984 kB / 0.8078 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.5707, allocations: 1.921 MB / 0.8096 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5707, allocations: 0 / 0.8096 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.5712, allocations: 142.7 kB / 0.8098 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.5716, allocations: 75.84 kB / 0.8098 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.5717, allocations: 22.42 kB / 0.8099 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.5734, allocations: 1.653 MB / 0.8115 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5734, allocations: 3.938 kB / 0.8115 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.5752, allocations: 0.9768 MB / 0.8124 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.5755, allocations: 275.9 kB / 0.8127 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.5757, allocations: 16.69 kB / 0.8127 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/0.5763, allocations: 66.58 kB / 0.8128 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.5764, allocations: 72.03 kB / 0.8128 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.5765, allocations: 36.09 kB / 0.8129 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005025/0.577, allocations: 457 kB / 0.8133 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/0.577, allocations: 0 / 0.8133 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008239/0.5779, allocations: 316.2 kB / 0.8136 GB, free: 2.195 MB / 0.5919 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.003198/0.5811, allocations: 2.036 MB / 0.8156 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.5825, allocations: 0.7879 MB / 0.8164 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5825, allocations: 2.422 kB / 0.8164 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.5834, allocations: 0.5126 MB / 0.8169 GB, free: 224 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.5846, allocations: 294.3 kB / 0.8172 GB, free: 80 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009817/0.5944, allocations: 6.133 MB / 0.8231 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.595, allocations: 1.019 MB / 0.8241 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007615/0.5958, allocations: 261.2 kB / 0.8244 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/0.5963, allocations: 372.6 kB / 0.8247 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.5963, allocations: 0 / 0.8247 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.6422, allocations: 21.73 MB / 0.846 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.88, allocations: 7.922 kB / 0.846 GB, free: 7.266 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)