Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.000827/0.0008271, allocations: 88.17 kB / 15.7 MB, free: 460 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.001182/0.001182, allocations: 181.5 kB / 16.59 MB, free: 6.504 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.304/1.304, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.669/0.669, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 8 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005013/0.1528, allocations: 3.859 MB / 0.5607 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4624/0.6152, allocations: 136.9 MB / 0.6943 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/0.6158, allocations: 15.94 kB / 0.6944 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.6163, allocations: 134.9 kB / 0.6945 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.6174, allocations: 430.5 kB / 0.6949 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.6188, allocations: 0.6679 MB / 0.6956 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.6199, allocations: 1.195 MB / 0.6967 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007124/0.6207, allocations: 0.4914 MB / 0.6972 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.6211, allocations: 350.4 kB / 0.6975 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.6216, allocations: 402 kB / 0.6979 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/0.6217, allocations: 28 kB / 0.6979 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.6223, allocations: 355.6 kB / 0.6983 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.6225, allocations: 199.1 kB / 0.6985 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.6227, allocations: 201.1 kB / 0.6987 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.6238, allocations: 1.22 MB / 0.6999 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6238, allocations: 4 kB / 0.6999 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6238, allocations: 0 / 0.6999 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.6238, allocations: 0 / 0.6999 GB, free: 8.336 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002189/0.626, allocations: 1.277 MB / 0.7011 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.626, allocations: 8.031 kB / 0.7011 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.6262, allocations: 147.6 kB / 0.7013 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007764/0.627, allocations: 198.4 kB / 0.7014 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009723/0.628, allocations: 0.7388 MB / 0.7022 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.628, allocations: 73.95 kB / 0.7022 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.6282, allocations: 84 kB / 0.7023 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.6297, allocations: 0.9729 MB / 0.7033 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.6297, allocations: 0 / 0.7033 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.6298, allocations: 39.98 kB / 0.7033 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.6298, allocations: 28 kB / 0.7033 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.6316, allocations: 1.155 MB / 0.7045 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003917/0.6355, allocations: 2.733 MB / 0.7071 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.6374, allocations: 0.9847 MB / 0.7081 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.638, allocations: 330.6 kB / 0.7084 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.354e-05/0.6381, allocations: 36.59 kB / 0.7084 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009273/0.639, allocations: 0.5392 MB / 0.709 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=88): time 2.725e-06/0.639, allocations: 0 / 0.709 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88): time 0.002929/0.6419, allocations: 1.298 MB / 0.7102 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.6421, allocations: 192.9 kB / 0.7104 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/0.6429, allocations: 0.6412 MB / 0.711 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.6429, allocations: 49.7 kB / 0.7111 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.6433, allocations: 404.4 kB / 0.7115 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.6435, allocations: 283.9 kB / 0.7117 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.6435, allocations: 16 kB / 0.7118 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6437, allocations: 394.7 kB / 0.7121 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.6442, allocations: 269.9 kB / 0.7124 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.6448, allocations: 386.5 kB / 0.7128 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.6453, allocations: 306.9 kB / 0.7131 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6454, allocations: 4 kB / 0.7131 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001701/0.6471, allocations: 0.872 MB / 0.7139 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6471, allocations: 8.094 kB / 0.7139 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6471, allocations: 4 kB / 0.7139 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/0.6476, allocations: 84.77 kB / 0.714 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.6483, allocations: 163.8 kB / 0.7142 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.6502, allocations: 1.52 MB / 0.7156 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.6509, allocations: 111.2 kB / 0.7158 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.6509, allocations: 39.47 kB / 0.7158 GB, free: 7.488 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003823/0.6513, allocations: 275.6 kB / 0.7161 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.6515, allocations: 86.97 kB / 0.7161 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.6539, allocations: 1.207 MB / 0.7173 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.6539, allocations: 12 kB / 0.7173 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6539, allocations: 0 / 0.7173 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.6539, allocations: 11.92 kB / 0.7173 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.6571, allocations: 2.104 MB / 0.7194 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6571, allocations: 0 / 0.7194 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/0.6577, allocations: 175.7 kB / 0.7196 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/0.6582, allocations: 88.72 kB / 0.7196 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.6583, allocations: 31.97 kB / 0.7197 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.66, allocations: 1.536 MB / 0.7212 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.66, allocations: 0 / 0.7212 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.662, allocations: 1.101 MB / 0.7223 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.6624, allocations: 303.5 kB / 0.7225 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.6625, allocations: 20.06 kB / 0.7226 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.6632, allocations: 92.94 kB / 0.7226 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.6633, allocations: 80.88 kB / 0.7227 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.6634, allocations: 43.97 kB / 0.7228 GB, free: 84 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006525/0.6641, allocations: 467 kB / 0.7232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6641, allocations: 0 / 0.7232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009324/0.665, allocations: 339.2 kB / 0.7235 GB, free: 15.3 MB / 0.545 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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003589/0.6686, allocations: 2.143 MB / 0.7256 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.6704, allocations: 0.8741 MB / 0.7265 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.6704, allocations: 4 kB / 0.7265 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009382/0.6713, allocations: 0.5629 MB / 0.727 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.6725, allocations: 256.5 kB / 0.7273 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.6832, allocations: 5.388 MB / 0.7325 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.684, allocations: 1.044 MB / 0.7336 GB, free: 5.031 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009623/0.6849, allocations: 283 kB / 0.7338 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/0.6856, allocations: 403.3 kB / 0.7342 GB, free: 4.355 MB / 0.545 GB Notification: Performance of SimCode: time 2.454e-06/0.6856, allocations: 0 / 0.7342 GB, free: 4.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.7311, allocations: 22.38 MB / 0.7561 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.7314, allocations: 301.4 kB / 0.7564 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.1, allocations: 0 / 0.7564 GB, free: 14.04 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) Environment - environmentSimulation: