Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_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.0008563/0.0008563, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005/0.005, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.104/2.104, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002776, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4962, allocations: 142.4 MB / 0.9552 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004036/0.5003, allocations: 4.992 MB / 0.96 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1305/0.6308, allocations: 147.2 MB / 1.104 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008719/0.6317, allocations: 19.88 kB / 1.104 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.6323, allocations: 162.6 kB / 1.104 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.6342, allocations: 0.5795 MB / 1.105 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.636, allocations: 0.8583 MB / 1.105 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.6377, allocations: 1.763 MB / 1.107 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.6389, allocations: 1.021 MB / 1.108 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007294/0.6396, allocations: 0.5479 MB / 1.109 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007342/0.6404, allocations: 0.6098 MB / 1.109 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.6405, allocations: 44 kB / 1.109 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000692/0.6412, allocations: 387.6 kB / 1.11 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.6415, allocations: 282.5 kB / 1.11 GB, free: 296 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005763/0.6421, allocations: 0.7003 MB / 1.111 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.6439, allocations: 2.258 MB / 1.113 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.6439, allocations: 0 / 1.113 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6439, allocations: 0 / 1.113 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.8e-05/0.644, allocations: 8 kB / 1.113 GB, free: 13.3 MB / 0.8731 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.003178/0.6472, allocations: 1.68 MB / 1.114 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.6472, allocations: 8.031 kB / 1.114 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002764/0.6475, allocations: 220.1 kB / 1.115 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/0.6484, allocations: 274.5 kB / 1.115 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.6496, allocations: 0.9691 MB / 1.116 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-05/0.6497, allocations: 115.1 kB / 1.116 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.6499, allocations: 152 kB / 1.116 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.6523, allocations: 1.592 MB / 1.118 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.6523, allocations: 0 / 1.118 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.6525, allocations: 64 kB / 1.118 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.6525, allocations: 36 kB / 1.118 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.6549, allocations: 1.643 MB / 1.119 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005778/0.6607, allocations: 4.194 MB / 1.123 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.6626, allocations: 1.187 MB / 1.125 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000742/0.6634, allocations: 479.7 kB / 1.125 GB, free: 456 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.663e-05/0.6635, allocations: 45.08 kB / 1.125 GB, free: 412 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.6647, allocations: 0.7939 MB / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 2.605e-06/0.6647, allocations: 0 / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.003862/0.6686, allocations: 1.853 MB / 1.128 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.6686, allocations: 197.2 kB / 1.128 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/0.6696, allocations: 0.8614 MB / 1.129 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.764e-05/0.6697, allocations: 57.69 kB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.6701, allocations: 0.6055 MB / 1.129 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.6704, allocations: 410 kB / 1.13 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.6705, allocations: 101.7 kB / 1.13 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6706, allocations: 349.9 kB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007487/0.6714, allocations: 430.4 kB / 1.131 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/0.6722, allocations: 0.5604 MB / 1.131 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.6738, allocations: 0.9662 MB / 1.132 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6738, allocations: 0 / 1.132 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00245/0.6763, allocations: 1.297 MB / 1.133 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6763, allocations: 4 kB / 1.133 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6763, allocations: 8.062 kB / 1.133 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/0.6769, allocations: 80.77 kB / 1.133 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/0.6779, allocations: 263.6 kB / 1.134 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.6797, allocations: 1.528 MB / 1.135 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/0.6806, allocations: 167 kB / 1.135 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.6807, allocations: 59.89 kB / 1.135 GB, free: 5.512 MB / 0.8887 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 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * 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 (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.0004636/0.6812, allocations: 344.2 kB / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.6814, allocations: 122.6 kB / 1.136 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.6847, allocations: 1.721 MB / 1.138 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.6847, allocations: 12 kB / 1.138 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6847, allocations: 0 / 1.138 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.6847, allocations: 7.969 kB / 1.138 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.6861, allocations: 1.417 MB / 1.139 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6861, allocations: 0 / 1.139 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/0.687, allocations: 219.6 kB / 1.139 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004901/0.6875, allocations: 84.77 kB / 1.139 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/0.6875, allocations: 39.97 kB / 1.139 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.6892, allocations: 1.563 MB / 1.141 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6892, allocations: 8.047 kB / 1.141 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.6917, allocations: 1.41 MB / 1.142 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.6921, allocations: 410.8 kB / 1.143 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.6923, allocations: 28 kB / 1.143 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009024/0.6932, allocations: 104.5 kB / 1.143 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.6934, allocations: 121.1 kB / 1.143 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/0.6935, allocations: 55.97 kB / 1.143 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000738/0.6942, allocations: 0.6425 MB / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6943, allocations: 7.938 kB / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008413/0.6951, allocations: 454.6 kB / 1.144 GB, free: 12.51 MB / 0.9044 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 (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.003846/0.699, allocations: 2.495 MB / 1.146 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.701, allocations: 1.24 MB / 1.148 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.701, allocations: 3.984 kB / 1.148 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.7022, allocations: 0.748 MB / 1.148 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.7034, allocations: 289.6 kB / 1.149 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.7192, allocations: 10.72 MB / 1.159 GB, free: 12.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.7199, allocations: 1.24 MB / 1.16 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009306/0.7208, allocations: 325.9 kB / 1.161 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/0.7216, allocations: 0.6281 MB / 1.161 GB, free: 10.61 MB / 0.92 GB Notification: Performance of SimCode: time 3.3e-07/0.7216, allocations: 0 / 1.161 GB, free: 10.61 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.7663, allocations: 28.28 MB / 1.189 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/0.7666, allocations: 301.8 kB / 1.189 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.116, allocations: 4 kB / 1.189 GB, free: 14.34 MB / 0.9512 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)