Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.001192/0.001192, 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.001154/0.001154, allocations: 195.5 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.164/1.164, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.05/2.05, allocations: 390.3 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 71.88 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4675, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004409/0.4719, allocations: 4.352 MB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1333/0.6053, allocations: 148.3 MB / 1.098 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006583/0.606, allocations: 19.88 kB / 1.098 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.6065, allocations: 131 kB / 1.098 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.6081, allocations: 451.2 kB / 1.099 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.6097, allocations: 0.7372 MB / 1.1 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.611, allocations: 1.3 MB / 1.101 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000757/0.6117, allocations: 0.6118 MB / 1.101 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.6123, allocations: 474.3 kB / 1.102 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.6128, allocations: 485.8 kB / 1.102 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.613, allocations: 119.9 kB / 1.103 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.6137, allocations: 459.7 kB / 1.103 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.6139, allocations: 295.1 kB / 1.103 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.6143, allocations: 0.544 MB / 1.104 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.6158, allocations: 1.562 MB / 1.105 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6158, allocations: 0 / 1.105 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6158, allocations: 0 / 1.105 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.6159, allocations: 0 / 1.105 GB, free: 1.629 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002305/0.6182, allocations: 1.411 MB / 1.107 GB, free: 172 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.6182, allocations: 12.03 kB / 1.107 GB, free: 160 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.6184, allocations: 131.4 kB / 1.107 GB, free: 20 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008403/0.6192, allocations: 191.6 kB / 1.107 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008864/0.6201, allocations: 0.7381 MB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.6202, allocations: 62 kB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6203, allocations: 80 kB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6217, allocations: 0.9145 MB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.6217, allocations: 0 / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.6218, allocations: 36 kB / 1.109 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.6218, allocations: 24 kB / 1.109 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.6234, allocations: 1.1 MB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.6268, allocations: 2.496 MB / 1.112 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.6281, allocations: 0.7979 MB / 1.113 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.6286, allocations: 302.6 kB / 1.113 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.6287, allocations: 32.67 kB / 1.113 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007542/0.6294, allocations: 491.1 kB / 1.114 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 1.874e-06/0.6294, allocations: 0 / 1.114 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.002843/0.6323, allocations: 1.19 MB / 1.115 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.6324, allocations: 192.6 kB / 1.115 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.633, allocations: 0.6215 MB / 1.116 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.6331, allocations: 41.7 kB / 1.116 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.6334, allocations: 400.3 kB / 1.116 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.6335, allocations: 260.3 kB / 1.117 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.6338, allocations: 146.5 kB / 1.117 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6339, allocations: 386.7 kB / 1.117 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.6344, allocations: 249.9 kB / 1.117 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.6349, allocations: 354.6 kB / 1.118 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009645/0.6359, allocations: 0.5799 MB / 1.118 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6359, allocations: 0 / 1.118 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001687/0.6376, allocations: 0.798 MB / 1.119 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6376, allocations: 10.34 kB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6376, allocations: 0 / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/0.6382, allocations: 88.77 kB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.6388, allocations: 147.8 kB / 1.119 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.6406, allocations: 1.634 MB / 1.121 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.6412, allocations: 91.38 kB / 1.121 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.6412, allocations: 27.98 kB / 1.121 GB, free: 1.109 MB / 0.8731 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 (87): * Single equations (assignments): 86 * 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.0003087/0.6416, allocations: 265.6 kB / 1.121 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.6417, allocations: 91.02 kB / 1.121 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.6439, allocations: 1.054 MB / 1.122 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.6439, allocations: 12 kB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6439, allocations: 3.938 kB / 1.122 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.6439, allocations: 7.969 kB / 1.122 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/0.6448, allocations: 0.8918 MB / 1.123 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6448, allocations: 0 / 1.123 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.6453, allocations: 143.8 kB / 1.123 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.6458, allocations: 72.8 kB / 1.123 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/0.6458, allocations: 27.97 kB / 1.123 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.6475, allocations: 1.666 MB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6476, allocations: 3.984 kB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.6493, allocations: 0.9123 MB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.6496, allocations: 275.7 kB / 1.126 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6497, allocations: 24 kB / 1.126 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.6503, allocations: 63.92 kB / 1.126 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.6505, allocations: 72.84 kB / 1.126 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/0.6505, allocations: 35.97 kB / 1.126 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004794/0.651, allocations: 455 kB / 1.127 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/0.651, allocations: 0 / 1.127 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006301/0.6517, allocations: 299.3 kB / 1.127 GB, free: 10.51 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 (91): * Single equations (assignments): 85 * 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.003099/0.6548, allocations: 1.985 MB / 1.129 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.6568, allocations: 0.9992 MB / 1.13 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6568, allocations: 0 / 1.13 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008225/0.6576, allocations: 0.5081 MB / 1.13 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/0.6586, allocations: 295.8 kB / 1.131 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.6693, allocations: 6.828 MB / 1.137 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.6699, allocations: 1.019 MB / 1.138 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007084/0.6706, allocations: 258.6 kB / 1.139 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004646/0.6711, allocations: 375.3 kB / 1.139 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.6711, allocations: 0 / 1.139 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.7076, allocations: 20.66 MB / 1.159 GB, free: 10 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/0.7079, allocations: 315.8 kB / 1.16 GB, free: 9.629 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.827, allocations: 4 kB / 1.16 GB, free: 9.625 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)