Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.001665/0.001665, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00224/0.00224, allocations: 189 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.133/2.133, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.577/4.577, allocations: 390.2 MB / 0.6644 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448/1.449, allocations: 140.4 MB / 0.9492 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.01334/1.463, allocations: 4.48 MB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3197/1.783, allocations: 148.5 MB / 1.099 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/1.785, allocations: 15.94 kB / 1.099 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/1.786, allocations: 138.9 kB / 1.099 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003795/1.79, allocations: 473.3 kB / 1.099 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/1.794, allocations: 0.7529 MB / 1.1 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003129/1.797, allocations: 1.363 MB / 1.101 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/1.799, allocations: 0.6274 MB / 1.102 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/1.801, allocations: 0.5021 MB / 1.102 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/1.802, allocations: 0.5211 MB / 1.103 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005228/1.803, allocations: 120 kB / 1.103 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/1.804, allocations: 463.6 kB / 1.103 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007172/1.805, allocations: 315 kB / 1.104 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/1.807, allocations: 0.5712 MB / 1.104 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003965/1.811, allocations: 1.612 MB / 1.106 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/1.811, allocations: 0 / 1.106 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.957e-06/1.811, allocations: 0 / 1.106 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.283e-05/1.811, allocations: 4 kB / 1.106 GB, free: 0.9453 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.005683/1.816, allocations: 1.472 MB / 1.107 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/1.816, allocations: 12.03 kB / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004252/1.817, allocations: 139.7 kB / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/1.819, allocations: 187.3 kB / 1.108 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/1.821, allocations: 0.7621 MB / 1.108 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.821, allocations: 77.98 kB / 1.109 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/1.821, allocations: 88 kB / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/1.824, allocations: 0.9574 MB / 1.11 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/1.824, allocations: 0 / 1.11 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/1.825, allocations: 43.98 kB / 1.11 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/1.825, allocations: 20 kB / 1.11 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003348/1.828, allocations: 1.159 MB / 1.111 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00768/1.836, allocations: 2.676 MB / 1.113 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/1.838, allocations: 0.8433 MB / 1.114 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009591/1.839, allocations: 318.7 kB / 1.114 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/1.84, allocations: 36.67 kB / 1.114 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/1.841, allocations: 0.5276 MB / 1.115 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 5e-06/1.842, allocations: 7.875 kB / 1.115 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.005458/1.847, allocations: 1.286 MB / 1.116 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/1.847, allocations: 196.8 kB / 1.116 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/1.849, allocations: 0.6451 MB / 1.117 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/1.849, allocations: 45.7 kB / 1.117 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/1.85, allocations: 412.4 kB / 1.118 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004612/1.85, allocations: 287.8 kB / 1.118 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/1.851, allocations: 166.5 kB / 1.118 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003174/1.851, allocations: 390.8 kB / 1.118 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009975/1.852, allocations: 269.8 kB / 1.119 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/1.854, allocations: 382.5 kB / 1.119 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/1.856, allocations: 0.6359 MB / 1.12 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.856, allocations: 0 / 1.12 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003654/1.859, allocations: 0.8721 MB / 1.12 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.859, allocations: 5.719 kB / 1.12 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.859, allocations: 0 / 1.12 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009627/1.86, allocations: 84.83 kB / 1.121 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.862, allocations: 171.8 kB / 1.121 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/1.866, allocations: 1.629 MB / 1.122 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.867, allocations: 103.2 kB / 1.122 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.867, allocations: 35.98 kB / 1.122 GB, free: 15.52 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.001067/1.868, allocations: 273.4 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000541/1.869, allocations: 82.97 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/1.874, allocations: 1.171 MB / 1.124 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/1.874, allocations: 12 kB / 1.124 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.874, allocations: 4 kB / 1.124 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/1.874, allocations: 3.984 kB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/1.877, allocations: 0.9423 MB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.877, allocations: 0 / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.878, allocations: 155.8 kB / 1.125 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008004/1.879, allocations: 76.73 kB / 1.125 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/1.879, allocations: 27.97 kB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/1.883, allocations: 1.666 MB / 1.127 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.883, allocations: 0 / 1.127 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/1.887, allocations: 0.9902 MB / 1.128 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.888, allocations: 283.6 kB / 1.128 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004357/1.888, allocations: 31.88 kB / 1.128 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.89, allocations: 70.73 kB / 1.128 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/1.89, allocations: 76.89 kB / 1.128 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/1.89, allocations: 39.97 kB / 1.128 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001472/1.892, allocations: 487 kB / 1.129 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.8e-07/1.892, allocations: 0 / 1.129 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002231/1.894, allocations: 315.3 kB / 1.129 GB, free: 8.594 MB / 0.8887 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.007661/1.902, allocations: 2.047 MB / 1.131 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005504/1.907, allocations: 1.085 MB / 1.132 GB, free: 5.594 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.907, allocations: 0 / 1.132 GB, free: 5.594 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/1.909, allocations: 0.547 MB / 1.133 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.912, allocations: 298.1 kB / 1.133 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/1.94, allocations: 7.259 MB / 1.14 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/1.942, allocations: 1.04 MB / 1.141 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001875/1.944, allocations: 278.9 kB / 1.141 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.945, allocations: 411.3 kB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of SimCode: time 1.493e-06/1.945, allocations: 0 / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08476/2.03, allocations: 21.87 MB / 1.163 GB, free: 6.098 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004927/2.031, allocations: 318 kB / 1.163 GB, free: 5.711 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.551/6.581, allocations: 0 / 1.163 GB, free: 5.711 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)