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.006767/0.006767, allocations: 99.55 kB / 15.73 MB, free: 6.008 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.001624/0.001624, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.179/2.179, allocations: 390.2 MB / 0.6648 GB, free: 100 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.03 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2375, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005817/0.2433, allocations: 4.336 MB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1637/0.4071, allocations: 150.6 MB / 1.239 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007232/0.4078, allocations: 15.94 kB / 1.239 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.4084, allocations: 174.3 kB / 1.239 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.4099, allocations: 0.5016 MB / 1.239 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.4118, allocations: 0.8271 MB / 1.24 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.4129, allocations: 1.297 MB / 1.241 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007624/0.4137, allocations: 0.6101 MB / 1.242 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000479/0.4142, allocations: 466.4 kB / 1.243 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.4147, allocations: 493.8 kB / 1.243 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.4148, allocations: 112 kB / 1.243 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.4156, allocations: 487.6 kB / 1.244 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.4159, allocations: 299 kB / 1.244 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.4164, allocations: 0.5363 MB / 1.244 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.4181, allocations: 1.601 MB / 1.246 GB, free: 15.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4181, allocations: 0 / 1.246 GB, free: 15.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4181, allocations: 0 / 1.246 GB, free: 15.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4181, allocations: 0 / 1.246 GB, free: 15.11 MB / 1.014 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.002348/0.4204, allocations: 1.418 MB / 1.247 GB, free: 13.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4205, allocations: 8.031 kB / 1.247 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/0.4207, allocations: 135.4 kB / 1.247 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008852/0.4216, allocations: 183.4 kB / 1.248 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.4227, allocations: 0.7615 MB / 1.248 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.4227, allocations: 66 kB / 1.248 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.4228, allocations: 76 kB / 1.248 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.4243, allocations: 0.9145 MB / 1.249 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4243, allocations: 0 / 1.249 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.4244, allocations: 32 kB / 1.249 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.4244, allocations: 32 kB / 1.249 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.4263, allocations: 1.104 MB / 1.251 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/0.4299, allocations: 2.461 MB / 1.253 GB, free: 7.715 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.4313, allocations: 0.7996 MB / 1.254 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.4319, allocations: 294.7 kB / 1.254 GB, free: 6.625 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.531e-05/0.4319, allocations: 28.7 kB / 1.254 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007849/0.4327, allocations: 499 kB / 1.254 GB, free: 6.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 2.023e-06/0.4327, allocations: 0 / 1.254 GB, free: 6.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.003191/0.4359, allocations: 1.19 MB / 1.256 GB, free: 4.871 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.674e-05/0.436, allocations: 192.6 kB / 1.256 GB, free: 4.641 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/0.4367, allocations: 0.6293 MB / 1.256 GB, free: 4.004 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.4368, allocations: 41.7 kB / 1.256 GB, free: 3.957 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.4371, allocations: 392.3 kB / 1.257 GB, free: 3.566 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.4373, allocations: 260.3 kB / 1.257 GB, free: 3.309 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.4375, allocations: 150.5 kB / 1.257 GB, free: 3.152 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4377, allocations: 390.7 kB / 1.258 GB, free: 2.762 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/0.4383, allocations: 241.9 kB / 1.258 GB, free: 2.527 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.4389, allocations: 358.5 kB / 1.258 GB, free: 2.148 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.44, allocations: 0.5799 MB / 1.259 GB, free: 1.555 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.44, allocations: 0 / 1.259 GB, free: 1.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001775/0.4418, allocations: 0.7941 MB / 1.26 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4418, allocations: 8.094 kB / 1.26 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4418, allocations: 11.92 kB / 1.26 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.4424, allocations: 80.72 kB / 1.26 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.4432, allocations: 151.8 kB / 1.26 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.453/0.8962, allocations: 1.619 MB / 1.261 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/0.897, allocations: 90.36 kB / 1.261 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.8971, allocations: 35.81 kB / 1.261 GB, free: 172.3 MB / 1.014 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.0003995/0.8975, allocations: 266.5 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.8976, allocations: 83.97 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.9, allocations: 1.06 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.9, allocations: 9.219 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.9, allocations: 0 / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.9, allocations: 9.297 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/0.901, allocations: 0.8897 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.901, allocations: 0 / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.9016, allocations: 141.2 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.902, allocations: 71.95 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.9021, allocations: 25.7 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.9036, allocations: 1.666 MB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9036, allocations: 0.9375 kB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.9056, allocations: 0.9196 MB / 1.266 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/0.9059, allocations: 271.6 kB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.906, allocations: 21.38 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.9066, allocations: 63.16 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.9068, allocations: 67.67 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.928e-05/0.9069, allocations: 38.83 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005486/0.9074, allocations: 461.3 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9074, allocations: 0 / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007736/0.9082, allocations: 307.1 kB / 1.268 GB, free: 169.6 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 (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.003434/0.9116, allocations: 1.981 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.9132, allocations: 0.7965 MB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9132, allocations: 0.8438 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.9142, allocations: 0.5126 MB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.9153, allocations: 287.9 kB / 1.271 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.9258, allocations: 6.222 MB / 1.277 GB, free: 165 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.9263, allocations: 1.022 MB / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008811/0.9272, allocations: 258.3 kB / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.9277, allocations: 377.2 kB / 1.279 GB, free: 163.9 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.9277, allocations: 0 / 1.279 GB, free: 163.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2209/1.149, allocations: 21.09 MB / 1.299 GB, free: 157.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.56, allocations: 9.672 kB / 1.299 GB, free: 157.5 MB / 1.014 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)