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.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.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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001124/0.001124, allocations: 198.9 kB / 16.14 MB, free: 6.645 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.163/1.163, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.035/2.035, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4651, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004379/0.4695, allocations: 4.74 MB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.126/0.5954, allocations: 148.4 MB / 1.099 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007684/0.5962, allocations: 19.88 kB / 1.099 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.5969, allocations: 150.8 kB / 1.099 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.5984, allocations: 451.5 kB / 1.099 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.6, allocations: 0.7464 MB / 1.1 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.6013, allocations: 1.351 MB / 1.101 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009777/0.6023, allocations: 0.8965 MB / 1.102 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.6029, allocations: 0.5057 MB / 1.103 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.6035, allocations: 0.6025 MB / 1.103 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.6036, allocations: 88 kB / 1.103 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007159/0.6044, allocations: 427.6 kB / 1.104 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.6046, allocations: 302.9 kB / 1.104 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004855/0.6051, allocations: 0.6292 MB / 1.105 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.6066, allocations: 1.865 MB / 1.106 GB, free: 356 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.6066, allocations: 0 / 1.106 GB, free: 356 kB / 0.8575 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6066, allocations: 3.938 kB / 1.106 GB, free: 352 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.6066, allocations: 0 / 1.106 GB, free: 352 kB / 0.8575 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.002416/0.609, allocations: 1.69 MB / 1.108 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.6091, allocations: 8.031 kB / 1.108 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.6092, allocations: 185.8 kB / 1.108 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008647/0.6101, allocations: 223 kB / 1.108 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009398/0.6111, allocations: 0.8442 MB / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.6111, allocations: 90.41 kB / 1.109 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.6113, allocations: 116 kB / 1.109 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.613, allocations: 1.198 MB / 1.111 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.613, allocations: 0 / 1.111 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.6131, allocations: 52 kB / 1.111 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.6131, allocations: 28 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.615, allocations: 1.285 MB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.6189, allocations: 3.172 MB / 1.115 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.6203, allocations: 0.8511 MB / 1.116 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.6208, allocations: 322.7 kB / 1.116 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-05/0.6208, allocations: 32.61 kB / 1.116 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008242/0.6217, allocations: 0.5159 MB / 1.117 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 1.983e-06/0.6217, allocations: 0 / 1.117 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.002945/0.6246, allocations: 1.278 MB / 1.118 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.6247, allocations: 192.9 kB / 1.118 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007449/0.6255, allocations: 0.7353 MB / 1.119 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.6255, allocations: 41.7 kB / 1.119 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.6258, allocations: 0.5154 MB / 1.119 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.626, allocations: 291.9 kB / 1.12 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.6263, allocations: 158.5 kB / 1.12 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.6264, allocations: 330 kB / 1.12 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.6268, allocations: 269.9 kB / 1.12 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.6274, allocations: 386.5 kB / 1.121 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.6284, allocations: 0.6281 MB / 1.121 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6284, allocations: 4 kB / 1.121 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001768/0.6302, allocations: 0.8682 MB / 1.122 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6302, allocations: 14.06 kB / 1.122 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6302, allocations: 0 / 1.122 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.6308, allocations: 84.92 kB / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.6314, allocations: 167.8 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.6331, allocations: 1.522 MB / 1.124 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/0.6338, allocations: 103.3 kB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.6338, allocations: 35.97 kB / 1.124 GB, free: 13.58 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.000349/0.6342, allocations: 293.6 kB / 1.124 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.6343, allocations: 94.78 kB / 1.124 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.6365, allocations: 1.126 MB / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.6366, allocations: 12 kB / 1.126 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.6366, allocations: 4 kB / 1.126 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6366, allocations: 7.922 kB / 1.126 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009789/0.6376, allocations: 1.052 MB / 1.127 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6376, allocations: 4 kB / 1.127 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.6381, allocations: 155.7 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.6386, allocations: 80.78 kB / 1.127 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.6387, allocations: 31.97 kB / 1.127 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.6402, allocations: 1.551 MB / 1.128 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.6402, allocations: 0 / 1.128 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.642, allocations: 0.9901 MB / 1.129 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.6423, allocations: 287.6 kB / 1.13 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.6425, allocations: 20 kB / 1.13 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.643, allocations: 59.94 kB / 1.13 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.6432, allocations: 76.89 kB / 1.13 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.6433, allocations: 35.97 kB / 1.13 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005346/0.6438, allocations: 0.5185 MB / 1.13 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.6438, allocations: 0 / 1.13 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000644/0.6445, allocations: 358.7 kB / 1.131 GB, free: 6.598 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.003062/0.6475, allocations: 2.045 MB / 1.133 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.6489, allocations: 0.8468 MB / 1.134 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.649, allocations: 0 / 1.134 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/0.6498, allocations: 0.5394 MB / 1.134 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.6508, allocations: 286.1 kB / 1.134 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.6624, allocations: 7.975 MB / 1.142 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.6629, allocations: 1.114 MB / 1.143 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007263/0.6636, allocations: 279.4 kB / 1.143 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.6642, allocations: 479.2 kB / 1.144 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.6642, allocations: 0 / 1.144 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.6989, allocations: 22.24 MB / 1.166 GB, free: 3.078 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.6991, allocations: 306.1 kB / 1.166 GB, free: 2.695 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.539/4.239, allocations: 4 kB / 1.166 GB, free: 2.691 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)