Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.004266/0.004266, allocations: 97.58 kB / 15.73 MB, free: 5.988 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: 192.3 kB / 16.67 MB, free: 5.918 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.626/2.626, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 67.89 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2661, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009137/0.2753, allocations: 8.423 MB / 1.25 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6473/0.9226, allocations: 151.8 MB / 1.398 GB, free: 13.62 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.9239, allocations: 25.47 kB / 1.398 GB, free: 13.61 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000961/0.9249, allocations: 319.3 kB / 1.399 GB, free: 13.33 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.9273, allocations: 0.8574 MB / 1.399 GB, free: 12.65 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.9301, allocations: 1.385 MB / 1.401 GB, free: 11.54 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002869/0.933, allocations: 2.998 MB / 1.404 GB, free: 9.68 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.9347, allocations: 1.493 MB / 1.405 GB, free: 8.781 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.9361, allocations: 1.186 MB / 1.406 GB, free: 8.051 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.9375, allocations: 1.347 MB / 1.408 GB, free: 7.07 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.9379, allocations: 325 kB / 1.408 GB, free: 7.07 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.939, allocations: 0.7032 MB / 1.409 GB, free: 6.875 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.9396, allocations: 0.6988 MB / 1.409 GB, free: 6.277 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.9407, allocations: 1.331 MB / 1.411 GB, free: 5.281 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.9443, allocations: 3.68 MB / 1.414 GB, free: 2.5 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.9443, allocations: 0 / 1.414 GB, free: 2.5 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9443, allocations: 1.156 kB / 1.414 GB, free: 2.5 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.36e-05/0.9444, allocations: 0 / 1.414 GB, free: 2.5 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005468/0.9498, allocations: 2.903 MB / 1.417 GB, free: 408 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.9499, allocations: 12.23 kB / 1.417 GB, free: 404 kB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003439/0.9502, allocations: 312.2 kB / 1.417 GB, free: 156 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01409/0.9643, allocations: 2.123 MB / 1.42 GB, free: 15.18 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.9663, allocations: 1.305 MB / 1.421 GB, free: 14.11 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.9664, allocations: 168.6 kB / 1.421 GB, free: 14.04 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.9667, allocations: 217.8 kB / 1.421 GB, free: 13.96 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007606/0.9743, allocations: 3.28 MB / 1.424 GB, free: 11.91 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.9744, allocations: 4 kB / 1.424 GB, free: 11.9 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.9746, allocations: 96 kB / 1.424 GB, free: 11.81 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.9747, allocations: 52 kB / 1.424 GB, free: 11.76 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.9867, allocations: 4.209 MB / 1.429 GB, free: 7.531 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/1.001, allocations: 8.147 MB / 1.437 GB, free: 15.09 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008564/1.009, allocations: 2.883 MB / 1.439 GB, free: 12.21 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/1.014, allocations: 1.489 MB / 1.441 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007222/1.014, allocations: 0.5113 MB / 1.441 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004709/1.019, allocations: 1.847 MB / 1.443 GB, free: 8.25 MB / 1.139 GB Notification: Performance of pre-optimization done (n=213): time 3.256e-06/1.019, allocations: 0 / 1.443 GB, free: 8.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=213): time 0.014/1.033, allocations: 4.482 MB / 1.448 GB, free: 3.742 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.033, allocations: 205.9 kB / 1.448 GB, free: 3.496 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/1.034, allocations: 0.9413 MB / 1.449 GB, free: 2.535 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/1.035, allocations: 65.7 kB / 1.449 GB, free: 2.465 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005774/1.035, allocations: 0.7678 MB / 1.449 GB, free: 1.688 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/1.036, allocations: 0.7126 MB / 1.45 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006847/1.036, allocations: 379.3 kB / 1.45 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.037, allocations: 301.1 kB / 1.451 GB, free: 304 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/1.041, allocations: 1.237 MB / 1.452 GB, free: 15.06 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/1.045, allocations: 1.429 MB / 1.453 GB, free: 13.59 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0079/1.053, allocations: 2.591 MB / 1.456 GB, free: 10.98 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.053, allocations: 0 / 1.456 GB, free: 10.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009328/1.062, allocations: 3.076 MB / 1.459 GB, free: 7.895 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.062, allocations: 8 kB / 1.459 GB, free: 7.887 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.062, allocations: 4.062 kB / 1.459 GB, free: 7.883 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/1.063, allocations: 92.69 kB / 1.459 GB, free: 7.789 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/1.066, allocations: 0.5929 MB / 1.46 GB, free: 7.195 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08502/1.151, allocations: 1.639 MB / 1.461 GB, free: 5.414 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/1.154, allocations: 378.4 kB / 1.462 GB, free: 5.043 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/1.154, allocations: 95.89 kB / 1.462 GB, free: 4.949 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.0009139/1.155, allocations: 435.9 kB / 1.462 GB, free: 4.516 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/1.156, allocations: 163 kB / 1.462 GB, free: 4.355 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.167, allocations: 3.71 MB / 1.466 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/1.167, allocations: 27.98 kB / 1.466 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.167, allocations: 0 / 1.466 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-05/1.167, allocations: 11.95 kB / 1.466 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/1.17, allocations: 2.464 MB / 1.468 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/1.17, allocations: 0 / 1.468 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/1.173, allocations: 0.5655 MB / 1.469 GB, free: 13.51 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/1.173, allocations: 72.8 kB / 1.469 GB, free: 13.44 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/1.174, allocations: 75.91 kB / 1.469 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/1.175, allocations: 1.654 MB / 1.471 GB, free: 11.56 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.175, allocations: 4 kB / 1.471 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009599/1.185, allocations: 3.219 MB / 1.474 GB, free: 8.309 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008076/1.186, allocations: 0.5499 MB / 1.474 GB, free: 7.738 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/1.186, allocations: 63.88 kB / 1.474 GB, free: 7.676 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002627/1.189, allocations: 269.6 kB / 1.475 GB, free: 7.414 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/1.189, allocations: 149.8 kB / 1.475 GB, free: 7.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.189, allocations: 95.91 kB / 1.475 GB, free: 7.176 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000888/1.19, allocations: 0.7036 MB / 1.476 GB, free: 6.465 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.19, allocations: 0 / 1.476 GB, free: 6.465 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001508/1.192, allocations: 0.678 MB / 1.476 GB, free: 5.785 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.01177/1.204, allocations: 4.341 MB / 1.48 GB, free: 1.598 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009241/1.213, allocations: 3.132 MB / 1.483 GB, free: 14.45 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.213, allocations: 0 / 1.483 GB, free: 14.45 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004777/1.218, allocations: 1.763 MB / 1.485 GB, free: 12.68 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.219, allocations: 386.1 kB / 1.486 GB, free: 12.32 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/1.255, allocations: 15.9 MB / 1.501 GB, free: 12.2 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.256, allocations: 1.427 MB / 1.502 GB, free: 10.74 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002455/1.258, allocations: 0.5873 MB / 1.503 GB, free: 10.14 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.26, allocations: 0.8857 MB / 1.504 GB, free: 9.258 MB / 1.201 GB Notification: Performance of SimCode: time 4.91e-07/1.26, allocations: 0 / 1.504 GB, free: 9.258 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9418/2.202, allocations: 42.83 MB / 1.546 GB, free: 14.8 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.37/31.58, allocations: 8.062 kB / 1.546 GB, free: 14.79 MB / 1.248 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)