Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 288.2 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 188.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008803/0.0008802, allocations: 94.84 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004075, allocations: 11.5 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.216, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004363/0.2204, allocations: 4.173 MB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.681/0.9015, allocations: 127.6 MB / 1.108 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009951/0.9026, allocations: 20.22 kB / 1.108 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.9031, allocations: 87.34 kB / 1.108 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.9057, allocations: 0.5288 MB / 1.109 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.9083, allocations: 0.6509 MB / 1.109 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002752/0.911, allocations: 0.9756 MB / 1.11 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.9125, allocations: 0.7762 MB / 1.111 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.9138, allocations: 475.1 kB / 1.112 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.9146, allocations: 458.1 kB / 1.112 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.9148, allocations: 29.91 kB / 1.112 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.916, allocations: 252.5 kB / 1.112 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.9164, allocations: 224.3 kB / 1.112 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.9168, allocations: 255.6 kB / 1.113 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.92, allocations: 1.526 MB / 1.114 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.92, allocations: 4 kB / 1.114 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.776e-06/0.92, allocations: 3.391 kB / 1.114 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.132e-05/0.9201, allocations: 0 / 1.114 GB, free: 1.43 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003499/0.9236, allocations: 1.461 MB / 1.116 GB, free: 16.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.9237, allocations: 9.344 kB / 1.116 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003568/0.924, allocations: 207.3 kB / 1.116 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.9251, allocations: 238.4 kB / 1.116 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.9265, allocations: 0.8527 MB / 1.117 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.726e-05/0.9266, allocations: 100.8 kB / 1.117 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.9268, allocations: 131 kB / 1.117 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.9293, allocations: 1.373 MB / 1.118 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.9293, allocations: 1.125 kB / 1.118 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.9294, allocations: 61.7 kB / 1.119 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.9295, allocations: 34.03 kB / 1.119 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.9321, allocations: 1.478 MB / 1.12 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00637/0.9385, allocations: 3.599 MB / 1.124 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.9401, allocations: 0.9585 MB / 1.124 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.9402, allocations: 48.8 kB / 1.125 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.9412, allocations: 0.5739 MB / 1.125 GB, free: 14.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/0.9413, allocations: 0 / 1.125 GB, free: 14.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003515/0.9448, allocations: 1.481 MB / 1.127 GB, free: 13.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.9449, allocations: 196.5 kB / 1.127 GB, free: 13.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.9459, allocations: 0.7422 MB / 1.127 GB, free: 13.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.687e-05/0.946, allocations: 48.06 kB / 1.127 GB, free: 13.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.9465, allocations: 0.5549 MB / 1.128 GB, free: 13.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.9468, allocations: 350.7 kB / 1.128 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.9468, allocations: 16.44 kB / 1.128 GB, free: 12.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.947, allocations: 342.5 kB / 1.129 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/0.9476, allocations: 341.8 kB / 1.129 GB, free: 12.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/0.9483, allocations: 454 kB / 1.129 GB, free: 12.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.949, allocations: 407.1 kB / 1.13 GB, free: 12.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.949, allocations: 3.312 kB / 1.13 GB, free: 12.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002365/0.9514, allocations: 1.061 MB / 1.131 GB, free: 12.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.9514, allocations: 5.969 kB / 1.131 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.9515, allocations: 10.92 kB / 1.131 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.9521, allocations: 79.58 kB / 1.131 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/0.953, allocations: 217.8 kB / 1.131 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.9553, allocations: 1.543 MB / 1.133 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.9565, allocations: 113.1 kB / 1.133 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/0.9566, allocations: 45.16 kB / 1.133 GB, free: 10.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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.0007165/0.9573, allocations: 308 kB / 1.133 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.9575, allocations: 106 kB / 1.133 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.9607, allocations: 1.409 MB / 1.135 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.9607, allocations: 11.59 kB / 1.135 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9607, allocations: 0 / 1.135 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.9607, allocations: 12.94 kB / 1.135 GB, free: 9.961 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/0.9653, allocations: 2.56 MB / 1.137 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.9654, allocations: 1.469 kB / 1.137 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/0.9663, allocations: 198.6 kB / 1.137 GB, free: 9.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000538/0.9668, allocations: 83.91 kB / 1.137 GB, free: 8.988 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/0.9669, allocations: 26.52 kB / 1.137 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.9688, allocations: 1.569 MB / 1.139 GB, free: 7.621 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9688, allocations: 1.75 kB / 1.139 GB, free: 7.621 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.9716, allocations: 1.169 MB / 1.14 GB, free: 7.281 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009693/0.9726, allocations: 355.5 kB / 1.14 GB, free: 7.051 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.9728, allocations: 25.25 kB / 1.14 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008511/0.9737, allocations: 67.62 kB / 1.141 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.9739, allocations: 79.38 kB / 1.141 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.9741, allocations: 45.72 kB / 1.141 GB, free: 6.988 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001259/0.9753, allocations: 0.5502 MB / 1.141 GB, free: 6.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9753, allocations: 3.938 kB / 1.141 GB, free: 6.816 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001952/0.9773, allocations: 381.3 kB / 1.142 GB, free: 6.734 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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.004528/0.9819, allocations: 2.177 MB / 1.144 GB, free: 5.684 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002502/0.9844, allocations: 1.004 MB / 1.145 GB, free: 5.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9844, allocations: 0.9688 kB / 1.145 GB, free: 5.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.9856, allocations: 0.6101 MB / 1.145 GB, free: 5.227 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.9871, allocations: 257.5 kB / 1.146 GB, free: 5.152 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.001, allocations: 6.902 MB / 1.152 GB, free: 1.773 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008449/1.002, allocations: 1.189 MB / 1.153 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001187/1.003, allocations: 294.6 kB / 1.154 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006956/1.004, allocations: 0.5335 MB / 1.154 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/1.004, allocations: 0 / 1.154 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05228/1.056, allocations: 25.56 MB / 1.179 GB, free: 144 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/1.057, allocations: 281.7 kB / 1.179 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.914/3.97, allocations: 0 / 1.179 GB, free: 15.78 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)