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.006662/0.006662, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001652/0.001652, allocations: 193.5 kB / 16.67 MB, free: 5.977 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.006/2.006, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 59.91 kB / 0.9504 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5894, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004813/0.5943, allocations: 4.726 MB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1396/0.7339, allocations: 150.7 MB / 1.239 GB, free: 384 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008806/0.7348, allocations: 20.06 kB / 1.239 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.7354, allocations: 196.9 kB / 1.239 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.7372, allocations: 0.5296 MB / 1.24 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.7391, allocations: 0.8574 MB / 1.241 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.7402, allocations: 1.45 MB / 1.242 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009362/0.7412, allocations: 0.9251 MB / 1.243 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004982/0.7417, allocations: 0.5763 MB / 1.244 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.7422, allocations: 0.6299 MB / 1.244 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.7424, allocations: 154.9 kB / 1.244 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007162/0.7431, allocations: 0.5094 MB / 1.245 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.7433, allocations: 394.7 kB / 1.245 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004473/0.7438, allocations: 0.6917 MB / 1.246 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.7453, allocations: 1.966 MB / 1.248 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7453, allocations: 4 kB / 1.248 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7453, allocations: 0 / 1.248 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.7453, allocations: 0 / 1.248 GB, free: 9.438 MB / 0.9825 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.002259/0.7476, allocations: 1.693 MB / 1.25 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.7476, allocations: 12.03 kB / 1.25 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.7478, allocations: 177.8 kB / 1.25 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.7486, allocations: 219 kB / 1.25 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.7497, allocations: 0.8676 MB / 1.251 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.644e-05/0.7498, allocations: 86.41 kB / 1.251 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.7499, allocations: 120 kB / 1.251 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.7515, allocations: 1.202 MB / 1.252 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.7515, allocations: 3.938 kB / 1.252 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.7516, allocations: 51.98 kB / 1.252 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.7516, allocations: 28 kB / 1.252 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.7534, allocations: 1.285 MB / 1.253 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.7572, allocations: 3.117 MB / 1.257 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.7585, allocations: 0.8602 MB / 1.257 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.759, allocations: 322.7 kB / 1.258 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.7591, allocations: 36.7 kB / 1.258 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007336/0.7598, allocations: 0.5158 MB / 1.258 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 1.883e-06/0.7598, allocations: 0 / 1.258 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.002852/0.7627, allocations: 1.278 MB / 1.259 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.7628, allocations: 192.9 kB / 1.26 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/0.7635, allocations: 0.7314 MB / 1.26 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.7636, allocations: 41.7 kB / 1.26 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.7639, allocations: 0.5192 MB / 1.261 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.764, allocations: 283.9 kB / 1.261 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.7643, allocations: 158.5 kB / 1.261 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.7643, allocations: 341.9 kB / 1.262 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.7648, allocations: 269.9 kB / 1.262 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.7654, allocations: 382.5 kB / 1.262 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.7664, allocations: 0.632 MB / 1.263 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7664, allocations: 0 / 1.263 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001704/0.7681, allocations: 0.8721 MB / 1.264 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7681, allocations: 7.938 kB / 1.264 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.7682, allocations: 0 / 1.264 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/0.7687, allocations: 84.86 kB / 1.264 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.7693, allocations: 167.7 kB / 1.264 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3309/1.1, allocations: 1.619 MB / 1.266 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/1.101, allocations: 106 kB / 1.266 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/1.101, allocations: 31.98 kB / 1.266 GB, free: 6.598 MB / 0.9981 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.0003796/1.101, allocations: 293.5 kB / 1.266 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/1.102, allocations: 98.86 kB / 1.266 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/1.104, allocations: 1.137 MB / 1.267 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.104, allocations: 8 kB / 1.267 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/1.104, allocations: 0 / 1.267 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/1.104, allocations: 7.969 kB / 1.267 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/1.105, allocations: 1.052 MB / 1.268 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.105, allocations: 4 kB / 1.268 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/1.105, allocations: 155.8 kB / 1.268 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/1.106, allocations: 68.78 kB / 1.268 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/1.106, allocations: 35.86 kB / 1.269 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/1.107, allocations: 1.646 MB / 1.27 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.107, allocations: 3.938 kB / 1.27 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/1.109, allocations: 0.9902 MB / 1.271 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/1.109, allocations: 287.6 kB / 1.271 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.109, allocations: 27.98 kB / 1.271 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/1.11, allocations: 63.88 kB / 1.271 GB, free: 484 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.11, allocations: 80.83 kB / 1.272 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/1.11, allocations: 31.98 kB / 1.272 GB, free: 372 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005351/1.111, allocations: 0.5185 MB / 1.272 GB, free: 15.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.111, allocations: 4 kB / 1.272 GB, free: 15.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006429/1.111, allocations: 358.8 kB / 1.272 GB, free: 15.5 MB / 1.014 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.003263/1.115, allocations: 2.022 MB / 1.274 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001413/1.116, allocations: 0.8585 MB / 1.275 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.116, allocations: 0 / 1.275 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008304/1.117, allocations: 0.5473 MB / 1.276 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.118, allocations: 304.1 kB / 1.276 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/1.128, allocations: 7.137 MB / 1.283 GB, free: 4.637 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/1.128, allocations: 1.11 MB / 1.284 GB, free: 3.496 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006337/1.129, allocations: 267.5 kB / 1.284 GB, free: 3.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/1.13, allocations: 483.2 kB / 1.285 GB, free: 2.758 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.13, allocations: 0 / 1.285 GB, free: 2.758 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.93/4.06, allocations: 23.33 MB / 1.308 GB, free: 11.76 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/19.52, allocations: 18.55 kB / 1.308 GB, free: 11.75 MB / 1.045 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)