Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.0007898/0.0007898, allocations: 92.7 kB / 15.7 MB, free: 472 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.001001/0.001001, allocations: 175.6 kB / 16.58 MB, free: 6.848 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.295/1.295, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6315/0.6315, allocations: 113.7 MB / 405.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 9.75 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.0051/0.1617, allocations: 4.703 MB / 0.5615 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4698/0.6316, allocations: 137.3 MB / 0.6956 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000819/0.6325, allocations: 23.88 kB / 0.6956 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.633, allocations: 142.7 kB / 0.6957 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.6345, allocations: 0.549 MB / 0.6963 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.6363, allocations: 0.7298 MB / 0.697 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.6377, allocations: 1.643 MB / 0.6986 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.6387, allocations: 0.8283 MB / 0.6994 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007119/0.6395, allocations: 0.5326 MB / 0.6999 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.6401, allocations: 0.5828 MB / 0.7005 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.6402, allocations: 44 kB / 0.7005 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008238/0.641, allocations: 351.7 kB / 0.7008 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.6413, allocations: 274.6 kB / 0.7011 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.6416, allocations: 304.8 kB / 0.7014 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.6433, allocations: 1.8 MB / 0.7032 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6434, allocations: 4 kB / 0.7032 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6434, allocations: 0 / 0.7032 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.6434, allocations: 0 / 0.7032 GB, free: 4.805 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003392/0.6468, allocations: 1.7 MB / 0.7048 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6469, allocations: 8.031 kB / 0.7048 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000268/0.6471, allocations: 239.1 kB / 0.7051 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009388/0.6481, allocations: 261.7 kB / 0.7053 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.6494, allocations: 0.9304 MB / 0.7062 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.6495, allocations: 123 kB / 0.7063 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.6497, allocations: 148 kB / 0.7065 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.6522, allocations: 1.576 MB / 0.708 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.6522, allocations: 0 / 0.708 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.6524, allocations: 67.98 kB / 0.7081 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.6524, allocations: 39.94 kB / 0.7081 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.6549, allocations: 1.635 MB / 0.7097 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006203/0.6611, allocations: 4.18 MB / 0.7138 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.6631, allocations: 1.19 MB / 0.715 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.6638, allocations: 476.7 kB / 0.7154 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.6639, allocations: 49.06 kB / 0.7155 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/0.6653, allocations: 0.7783 MB / 0.7162 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=128): time 2.425e-06/0.6653, allocations: 0 / 0.7162 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=128): time 0.003901/0.6692, allocations: 1.842 MB / 0.718 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.6693, allocations: 193.2 kB / 0.7182 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.6704, allocations: 0.8655 MB / 0.719 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.6705, allocations: 53.7 kB / 0.7191 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005429/0.6711, allocations: 0.6053 MB / 0.7197 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.6714, allocations: 406.1 kB / 0.7201 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.6715, allocations: 24 kB / 0.7201 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6716, allocations: 353.9 kB / 0.7204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007834/0.6724, allocations: 426.4 kB / 0.7208 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/0.6732, allocations: 0.5604 MB / 0.7214 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008469/0.6741, allocations: 486.3 kB / 0.7219 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6741, allocations: 0 / 0.7219 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002427/0.6765, allocations: 1.285 MB / 0.7231 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6766, allocations: 8 kB / 0.7231 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6766, allocations: 4.062 kB / 0.7231 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.6771, allocations: 84.77 kB / 0.7232 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/0.6781, allocations: 259.6 kB / 0.7235 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.6799, allocations: 1.529 MB / 0.7249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008867/0.6808, allocations: 158.8 kB / 0.7251 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.6809, allocations: 55.95 kB / 0.7251 GB, free: 13.71 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.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,$PRE.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0005631/0.6815, allocations: 348.3 kB / 0.7255 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.6817, allocations: 129.7 kB / 0.7256 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.685, allocations: 1.729 MB / 0.7273 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.685, allocations: 16 kB / 0.7273 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.685, allocations: 3.953 kB / 0.7273 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.6851, allocations: 7.969 kB / 0.7273 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.6866, allocations: 1.412 MB / 0.7287 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6866, allocations: 4 kB / 0.7287 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008341/0.6874, allocations: 215.7 kB / 0.7289 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.6879, allocations: 88.77 kB / 0.729 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.6879, allocations: 39.97 kB / 0.729 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.6896, allocations: 1.552 MB / 0.7305 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6896, allocations: 8.828 kB / 0.7306 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.6921, allocations: 1.402 MB / 0.7319 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.6926, allocations: 414.8 kB / 0.7323 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.6928, allocations: 36 kB / 0.7324 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/0.6936, allocations: 103.9 kB / 0.7325 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.6938, allocations: 117.1 kB / 0.7326 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-05/0.6939, allocations: 55.95 kB / 0.7326 GB, free: 5.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007859/0.6947, allocations: 0.6386 MB / 0.7332 GB, free: 5.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6947, allocations: 0 / 0.7332 GB, free: 5.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00103/0.6958, allocations: 454.6 kB / 0.7337 GB, free: 4.703 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004001/0.6998, allocations: 2.484 MB / 0.7361 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002291/0.7021, allocations: 1.232 MB / 0.7373 GB, free: 1.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7021, allocations: 4 kB / 0.7373 GB, free: 1.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.7033, allocations: 0.744 MB / 0.738 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.7045, allocations: 285.2 kB / 0.7383 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.7199, allocations: 7.795 MB / 0.7459 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.721, allocations: 1.24 MB / 0.7471 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001224/0.7222, allocations: 329.9 kB / 0.7474 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009505/0.7232, allocations: 0.6242 MB / 0.7481 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.7232, allocations: 0 / 0.7481 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/0.777, allocations: 30 MB / 0.7774 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/0.7773, allocations: 271 kB / 0.7776 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/3.495, allocations: 0 / 0.7776 GB, free: 7.875 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: