Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_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.005213/0.005213, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001282/0.001283, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 290.5 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002579/0.002579, allocations: 95.84 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1608, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006652/0.1675, allocations: 4.727 MB / 0.7705 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4682/0.6357, allocations: 150.7 MB / 0.9177 GB, free: 7.461 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006304/0.6363, allocations: 15.94 kB / 0.9177 GB, free: 7.445 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.6369, allocations: 208.9 kB / 0.9179 GB, free: 7.242 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.6384, allocations: 0.5171 MB / 0.9184 GB, free: 6.742 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.6402, allocations: 0.8654 MB / 0.9192 GB, free: 5.902 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.6417, allocations: 1.453 MB / 0.9207 GB, free: 4.445 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.6429, allocations: 0.9157 MB / 0.9216 GB, free: 3.488 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006423/0.6435, allocations: 0.5838 MB / 0.9221 GB, free: 2.902 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.6442, allocations: 0.6261 MB / 0.9227 GB, free: 2.273 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.6444, allocations: 152 kB / 0.9229 GB, free: 2.125 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008337/0.6452, allocations: 0.517 MB / 0.9234 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.6456, allocations: 378.8 kB / 0.9238 GB, free: 1.238 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.6463, allocations: 0.6955 MB / 0.9244 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.6484, allocations: 1.978 MB / 0.9264 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6484, allocations: 0 / 0.9264 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.011e-06/0.6484, allocations: 0 / 0.9264 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.6484, allocations: 4 kB / 0.9264 GB, free: 14.56 MB / 0.6856 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.002801/0.6512, allocations: 1.734 MB / 0.9281 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.6513, allocations: 8.031 kB / 0.9281 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/0.6515, allocations: 177.8 kB / 0.9282 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.6524, allocations: 227.8 kB / 0.9285 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.6537, allocations: 0.8764 MB / 0.9293 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/0.6538, allocations: 90.39 kB / 0.9294 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.654, allocations: 120 kB / 0.9295 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.6561, allocations: 1.198 MB / 0.9307 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.6561, allocations: 4.859 kB / 0.9307 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.6562, allocations: 48 kB / 0.9307 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.6563, allocations: 29.5 kB / 0.9308 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.6585, allocations: 1.289 MB / 0.932 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004719/0.6632, allocations: 3.128 MB / 0.9351 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.6648, allocations: 0.8643 MB / 0.9359 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.6655, allocations: 322.8 kB / 0.9362 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.773e-05/0.6655, allocations: 32.53 kB / 0.9363 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009444/0.6665, allocations: 0.532 MB / 0.9368 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=87): time 2.145e-06/0.6665, allocations: 0 / 0.9368 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87): time 0.003318/0.6698, allocations: 1.279 MB / 0.938 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.67, allocations: 188.9 kB / 0.9382 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009414/0.6709, allocations: 0.7315 MB / 0.9389 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/0.671, allocations: 41.7 kB / 0.939 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/0.6714, allocations: 0.5318 MB / 0.9395 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.6717, allocations: 297.5 kB / 0.9398 GB, free: 484 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.672, allocations: 162.6 kB / 0.9399 GB, free: 316 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.6721, allocations: 345.9 kB / 0.9402 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/0.6727, allocations: 261.9 kB / 0.9405 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.6734, allocations: 386.5 kB / 0.9409 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.6746, allocations: 0.6242 MB / 0.9415 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6746, allocations: 0 / 0.9415 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002022/0.6767, allocations: 0.8843 MB / 0.9423 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6767, allocations: 4 kB / 0.9423 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6767, allocations: 4 kB / 0.9423 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005708/0.6773, allocations: 84.75 kB / 0.9424 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.678, allocations: 165.8 kB / 0.9426 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.6802, allocations: 1.623 MB / 0.9442 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.6808, allocations: 97.31 kB / 0.9443 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.6809, allocations: 39.97 kB / 0.9443 GB, free: 11.62 MB / 0.7012 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.0004101/0.6813, allocations: 293.7 kB / 0.9446 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.6815, allocations: 103.4 kB / 0.9447 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.684, allocations: 1.13 MB / 0.9458 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.684, allocations: 15.94 kB / 0.9458 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.684, allocations: 0 / 0.9458 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6841, allocations: 3.984 kB / 0.9458 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.6853, allocations: 1.044 MB / 0.9468 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6853, allocations: 4 kB / 0.9468 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.686, allocations: 159.7 kB / 0.947 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/0.6864, allocations: 76.73 kB / 0.947 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.6865, allocations: 27.97 kB / 0.9471 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.6885, allocations: 1.655 MB / 0.9487 GB, free: 6.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6885, allocations: 3.984 kB / 0.9487 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.6906, allocations: 0.9907 MB / 0.9497 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.691, allocations: 288.1 kB / 0.9499 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.6911, allocations: 24 kB / 0.95 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.6918, allocations: 67.98 kB / 0.95 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.6919, allocations: 84.2 kB / 0.9501 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.692, allocations: 31.98 kB / 0.9501 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006792/0.6927, allocations: 0.5185 MB / 0.9506 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6927, allocations: 0 / 0.9506 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007928/0.6935, allocations: 370.8 kB / 0.951 GB, free: 4.512 MB / 0.7012 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.004165/0.6977, allocations: 2.038 MB / 0.953 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.6994, allocations: 0.8522 MB / 0.9538 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6994, allocations: 0 / 0.9538 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.7004, allocations: 0.5431 MB / 0.9543 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.7016, allocations: 308.4 kB / 0.9546 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.714, allocations: 7.177 MB / 0.9617 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007919/0.7148, allocations: 1.106 MB / 0.9627 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007812/0.7156, allocations: 279.4 kB / 0.963 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/0.7163, allocations: 479.2 kB / 0.9635 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.7163, allocations: 4 kB / 0.9635 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/0.7737, allocations: 23.36 MB / 0.9863 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.75, allocations: 10.97 kB / 0.9863 GB, free: 0.7227 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)