Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001176/0.001176, allocations: 108 kB / 15.6 MB, free: 132 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.001197/0.001197, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.383 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 2.067/2.067, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 75.86 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4812, allocations: 140.3 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004541/0.4858, allocations: 4.736 MB / 0.9543 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1324/0.6181, allocations: 150.7 MB / 1.101 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008027/0.619, allocations: 19.88 kB / 1.102 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.6196, allocations: 198.1 kB / 1.102 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.6213, allocations: 0.5238 MB / 1.102 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.623, allocations: 0.8481 MB / 1.103 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.6244, allocations: 1.445 MB / 1.104 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.6254, allocations: 0.9157 MB / 1.105 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006196/0.6261, allocations: 0.5838 MB / 1.106 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.6267, allocations: 0.63 MB / 1.107 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.6269, allocations: 152 kB / 1.107 GB, free: 444 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007443/0.6277, allocations: 495.6 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.628, allocations: 374.8 kB / 1.108 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005438/0.6285, allocations: 0.6956 MB / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.6302, allocations: 1.924 MB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6302, allocations: 0 / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6302, allocations: 0 / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.367e-05/0.6302, allocations: 4 kB / 1.11 GB, free: 12.95 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002587/0.6328, allocations: 1.69 MB / 1.112 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.6329, allocations: 12.03 kB / 1.112 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.6331, allocations: 185.8 kB / 1.112 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008554/0.6339, allocations: 223 kB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009772/0.6349, allocations: 0.8403 MB / 1.113 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.635, allocations: 86.41 kB / 1.113 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.6351, allocations: 124 kB / 1.113 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.6368, allocations: 1.202 MB / 1.114 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.6368, allocations: 0 / 1.114 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.6369, allocations: 48 kB / 1.114 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.637, allocations: 28 kB / 1.114 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.6388, allocations: 1.293 MB / 1.116 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.6428, allocations: 3.164 MB / 1.119 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.6442, allocations: 0.8627 MB / 1.12 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.6447, allocations: 318.7 kB / 1.12 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-05/0.6448, allocations: 40.59 kB / 1.12 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008055/0.6456, allocations: 0.5081 MB / 1.12 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 1.913e-06/0.6456, allocations: 0 / 1.12 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.002926/0.6486, allocations: 1.278 MB / 1.122 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.6487, allocations: 196.9 kB / 1.122 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.6494, allocations: 0.7353 MB / 1.123 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.6495, allocations: 41.7 kB / 1.123 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.6498, allocations: 0.5193 MB / 1.123 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.65, allocations: 283.9 kB / 1.123 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.6502, allocations: 154.5 kB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.6503, allocations: 338 kB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.6508, allocations: 265.9 kB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.6514, allocations: 386.5 kB / 1.124 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.6524, allocations: 0.632 MB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6524, allocations: 0 / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001761/0.6542, allocations: 0.872 MB / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.6542, allocations: 7.938 kB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6542, allocations: 0 / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.6548, allocations: 84.86 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.6554, allocations: 163.8 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.6572, allocations: 1.631 MB / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.6578, allocations: 101.3 kB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.6579, allocations: 35.97 kB / 1.128 GB, free: 10.07 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (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.0003427/0.6582, allocations: 290.3 kB / 1.128 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6584, allocations: 94.78 kB / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.6606, allocations: 1.137 MB / 1.129 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6606, allocations: 8 kB / 1.129 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.6606, allocations: 0 / 1.129 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.6606, allocations: 3.984 kB / 1.129 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.6616, allocations: 1.059 MB / 1.13 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6616, allocations: 0 / 1.13 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.6622, allocations: 163.7 kB / 1.131 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.6626, allocations: 68.78 kB / 1.131 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.6627, allocations: 35.91 kB / 1.131 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.6643, allocations: 1.666 MB / 1.132 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6643, allocations: 0 / 1.132 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.6661, allocations: 0.994 MB / 1.133 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.6664, allocations: 283.6 kB / 1.134 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.6666, allocations: 20 kB / 1.134 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.6671, allocations: 67.86 kB / 1.134 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.6673, allocations: 80.89 kB / 1.134 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.6673, allocations: 27.98 kB / 1.134 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005502/0.6679, allocations: 0.5185 MB / 1.134 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6679, allocations: 0 / 1.134 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006733/0.6686, allocations: 358.8 kB / 1.135 GB, free: 2.961 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003097/0.6717, allocations: 2.039 MB / 1.137 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.6738, allocations: 1.062 MB / 1.138 GB, free: 4 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6738, allocations: 0 / 1.138 GB, free: 4 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008551/0.6747, allocations: 0.5433 MB / 1.138 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.6757, allocations: 313.1 kB / 1.138 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.6863, allocations: 7.455 MB / 1.146 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.6869, allocations: 1.11 MB / 1.147 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007279/0.6876, allocations: 279.4 kB / 1.147 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.6881, allocations: 475.2 kB / 1.148 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of SimCode: time 1.433e-06/0.6882, allocations: 3.938 kB / 1.148 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.775/3.463, allocations: 23.06 MB / 1.17 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/19.46, allocations: 7.922 kB / 1.17 GB, free: 14.89 MB / 0.9356 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)