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.001206/0.001209, allocations: 103.4 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.001099/0.001099, allocations: 193.2 kB / 16.26 MB, free: 6.621 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.176/1.176, allocations: 222.9 MB / 239.9 MB, free: 4.434 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.017/2.017, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4674, allocations: 140.4 MB / 0.9492 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004656/0.4721, allocations: 4.748 MB / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1268/0.5988, allocations: 148.5 MB / 1.099 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007609/0.5996, allocations: 15.94 kB / 1.099 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.6002, allocations: 150.8 kB / 1.099 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.6019, allocations: 479.3 kB / 1.099 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.6036, allocations: 0.7701 MB / 1.1 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.6049, allocations: 1.445 MB / 1.102 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000985/0.6059, allocations: 0.9157 MB / 1.103 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000625/0.6065, allocations: 0.5837 MB / 1.103 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006326/0.6071, allocations: 0.6377 MB / 1.104 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.6073, allocations: 152 kB / 1.104 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007142/0.6081, allocations: 495.6 kB / 1.104 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.6083, allocations: 378.8 kB / 1.105 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005026/0.6089, allocations: 0.6995 MB / 1.105 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.6105, allocations: 1.916 MB / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6105, allocations: 0 / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6105, allocations: 0 / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.826e-05/0.6105, allocations: 0 / 1.107 GB, free: 15.61 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.002547/0.6131, allocations: 1.697 MB / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.6131, allocations: 8.031 kB / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.6133, allocations: 177.8 kB / 1.109 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008564/0.6141, allocations: 223 kB / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.6151, allocations: 0.8481 MB / 1.11 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.6152, allocations: 90.41 kB / 1.11 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.6153, allocations: 115.9 kB / 1.11 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.617, allocations: 1.198 MB / 1.111 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.6171, allocations: 3.984 kB / 1.111 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.6172, allocations: 55.98 kB / 1.112 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.6172, allocations: 32 kB / 1.112 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.619, allocations: 1.281 MB / 1.113 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/0.623, allocations: 3.164 MB / 1.116 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.6244, allocations: 0.8589 MB / 1.117 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.6249, allocations: 318.7 kB / 1.117 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.11e-05/0.625, allocations: 36.59 kB / 1.117 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007671/0.6257, allocations: 0.512 MB / 1.118 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 3.096e-06/0.6258, allocations: 8.047 kB / 1.118 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.002963/0.6287, allocations: 1.274 MB / 1.119 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.6288, allocations: 188.9 kB / 1.119 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000724/0.6295, allocations: 0.7353 MB / 1.12 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.6296, allocations: 41.7 kB / 1.12 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.6299, allocations: 0.5232 MB / 1.12 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.6301, allocations: 283.9 kB / 1.121 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.6303, allocations: 166.5 kB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.6304, allocations: 333.9 kB / 1.121 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.6309, allocations: 265.9 kB / 1.121 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.6315, allocations: 390.5 kB / 1.122 GB, free: 428 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.6325, allocations: 0.632 MB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6325, allocations: 3.938 kB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001745/0.6342, allocations: 0.872 MB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6343, allocations: 7.938 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.6343, allocations: 0 / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/0.6348, allocations: 84.86 kB / 1.123 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.6355, allocations: 159.8 kB / 1.123 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.6373, allocations: 1.632 MB / 1.125 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006043/0.6379, allocations: 99.19 kB / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.6379, allocations: 40.05 kB / 1.125 GB, free: 12.73 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.0003341/0.6383, allocations: 289.5 kB / 1.125 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.6384, allocations: 102.8 kB / 1.125 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.6407, allocations: 1.126 MB / 1.127 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.6407, allocations: 8 kB / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.6407, allocations: 4 kB / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6407, allocations: 7.969 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.6417, allocations: 1.048 MB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6417, allocations: 0 / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.6423, allocations: 159.8 kB / 1.128 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/0.6427, allocations: 68.78 kB / 1.128 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.6427, allocations: 31.92 kB / 1.128 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.6444, allocations: 1.666 MB / 1.129 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6444, allocations: 7.969 kB / 1.13 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.6462, allocations: 0.9785 MB / 1.13 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.6465, allocations: 287.6 kB / 1.131 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.6466, allocations: 23.98 kB / 1.131 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/0.6472, allocations: 63.88 kB / 1.131 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.6474, allocations: 80.89 kB / 1.131 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.6475, allocations: 35.98 kB / 1.131 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005352/0.648, allocations: 0.5146 MB / 1.131 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.648, allocations: 0 / 1.131 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006433/0.6486, allocations: 362.8 kB / 1.132 GB, free: 5.625 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.003085/0.6517, allocations: 2.038 MB / 1.134 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.6538, allocations: 1.065 MB / 1.135 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6539, allocations: 0 / 1.135 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008394/0.6547, allocations: 0.5471 MB / 1.135 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6557, allocations: 311.1 kB / 1.136 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.6674, allocations: 7.972 MB / 1.143 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.668, allocations: 1.11 MB / 1.145 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007434/0.6687, allocations: 279.4 kB / 1.145 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/0.6693, allocations: 483.2 kB / 1.145 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6693, allocations: 0 / 1.145 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.6/11.27, allocations: 22.84 MB / 1.168 GB, free: 1.266 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/11.27, allocations: 306.4 kB / 1.168 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/13.51, allocations: 2.188 kB / 1.168 GB, free: 0.8828 MB / 0.92 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)