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.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.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.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001205/0.001205, allocations: 195.4 kB / 16.14 MB, free: 6.719 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.057/2.057, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.467, allocations: 140.4 MB / 0.949 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004046/0.4711, allocations: 4.349 MB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1245/0.5956, allocations: 148.2 MB / 1.098 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006587/0.5963, allocations: 19.88 kB / 1.098 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.5968, allocations: 135 kB / 1.098 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.5982, allocations: 429.6 kB / 1.099 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.5997, allocations: 0.7195 MB / 1.099 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.6007, allocations: 1.203 MB / 1.1 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.6014, allocations: 0.592 MB / 1.101 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.6019, allocations: 406.3 kB / 1.101 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.6024, allocations: 461.8 kB / 1.102 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.6025, allocations: 56 kB / 1.102 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.6031, allocations: 395.7 kB / 1.102 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.6034, allocations: 239 kB / 1.103 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.6037, allocations: 493.2 kB / 1.103 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.605, allocations: 1.507 MB / 1.105 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.605, allocations: 0 / 1.105 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.92e-07/0.605, allocations: 0 / 1.105 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.605, allocations: 0 / 1.105 GB, free: 2.309 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.002174/0.6072, allocations: 1.418 MB / 1.106 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6072, allocations: 8.031 kB / 1.106 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.6073, allocations: 131.4 kB / 1.106 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007751/0.6081, allocations: 187.4 kB / 1.106 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/0.609, allocations: 0.7342 MB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.609, allocations: 66 kB / 1.107 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.6091, allocations: 80 kB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.6104, allocations: 0.9145 MB / 1.108 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.6105, allocations: 0 / 1.108 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.6106, allocations: 40 kB / 1.108 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.6106, allocations: 20 kB / 1.108 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.6121, allocations: 1.108 MB / 1.109 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.6153, allocations: 2.488 MB / 1.112 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.6165, allocations: 0.8018 MB / 1.112 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.617, allocations: 302.6 kB / 1.113 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.946e-05/0.617, allocations: 28.7 kB / 1.113 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00075/0.6178, allocations: 491.2 kB / 1.113 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 1.733e-06/0.6178, allocations: 3.938 kB / 1.113 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.00271/0.6205, allocations: 1.19 MB / 1.114 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.6206, allocations: 188.6 kB / 1.114 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.6212, allocations: 0.6293 MB / 1.115 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.6213, allocations: 45.7 kB / 1.115 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.6215, allocations: 396.3 kB / 1.115 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.6217, allocations: 260.3 kB / 1.116 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.6219, allocations: 146.5 kB / 1.116 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.622, allocations: 394.7 kB / 1.116 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.6225, allocations: 237.9 kB / 1.116 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.623, allocations: 366.5 kB / 1.117 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.6239, allocations: 0.5722 MB / 1.117 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6239, allocations: 4 kB / 1.117 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001562/0.6254, allocations: 0.798 MB / 1.118 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.6255, allocations: 4 kB / 1.118 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6255, allocations: 4.094 kB / 1.118 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.626, allocations: 80.72 kB / 1.118 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.6266, allocations: 151.8 kB / 1.118 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1199/0.7465, allocations: 1.52 MB / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.7472, allocations: 99.41 kB / 1.12 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/0.7473, allocations: 27.98 kB / 1.12 GB, free: 1.902 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.0003722/0.7476, allocations: 261.6 kB / 1.12 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.7478, allocations: 90.89 kB / 1.12 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.7499, allocations: 1.058 MB / 1.121 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.7499, allocations: 8 kB / 1.121 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.7499, allocations: 0 / 1.121 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.7499, allocations: 7.969 kB / 1.121 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.7508, allocations: 0.888 MB / 1.122 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7508, allocations: 0 / 1.122 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.7513, allocations: 143.7 kB / 1.122 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.7518, allocations: 80.78 kB / 1.122 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.7518, allocations: 27.97 kB / 1.122 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.7534, allocations: 1.563 MB / 1.124 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7534, allocations: 0 / 1.124 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.7551, allocations: 0.924 MB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.7554, allocations: 271.7 kB / 1.125 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.7555, allocations: 23.98 kB / 1.125 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005533/0.7561, allocations: 57.34 kB / 1.125 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.7562, allocations: 76.83 kB / 1.125 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.7563, allocations: 35.98 kB / 1.125 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004561/0.7567, allocations: 459 kB / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7567, allocations: 0 / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006306/0.7574, allocations: 299.3 kB / 1.126 GB, free: 11.41 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.002973/0.7603, allocations: 1.973 MB / 1.128 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.7617, allocations: 0.7961 MB / 1.129 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7617, allocations: 0 / 1.129 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008101/0.7625, allocations: 0.5083 MB / 1.129 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/0.7635, allocations: 271.3 kB / 1.13 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.7739, allocations: 6.827 MB / 1.136 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.7744, allocations: 1.019 MB / 1.137 GB, free: 24 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007064/0.7751, allocations: 254.6 kB / 1.137 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.7756, allocations: 379.3 kB / 1.138 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.7756, allocations: 0 / 1.138 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4906/1.266, allocations: 20.09 MB / 1.157 GB, free: 11.69 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/1.267, allocations: 325.5 kB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.927, allocations: 0 / 1.158 GB, free: 11.3 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)