Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_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.005973/0.005973, allocations: 103.7 kB / 15.74 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.001496/0.001496, allocations: 193 kB / 16.67 MB, free: 5.973 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.353/1.353, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002508/0.002508, allocations: 285.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9684/0.9684, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 91.84 kB / 0.6809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3803, allocations: 86.98 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008498/0.3888, allocations: 6.47 MB / 0.7722 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1739/0.5627, allocations: 151.6 MB / 0.9203 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008918/0.5637, allocations: 23.88 kB / 0.9203 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.5644, allocations: 265.2 kB / 0.9205 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.5663, allocations: 0.6878 MB / 0.9212 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.5689, allocations: 1.357 MB / 0.9225 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002749/0.5717, allocations: 2.676 MB / 0.9252 GB, free: 128 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.5738, allocations: 1.592 MB / 0.9267 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.5751, allocations: 1.137 MB / 0.9278 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.5767, allocations: 1.299 MB / 0.9291 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.5771, allocations: 328 kB / 0.9294 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.5786, allocations: 0.6988 MB / 0.9301 GB, free: 11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006633/0.5792, allocations: 0.6932 MB / 0.9308 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.5805, allocations: 1.271 MB / 0.932 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003925/0.5844, allocations: 3.578 MB / 0.9355 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5844, allocations: 0 / 0.9355 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.215e-06/0.5844, allocations: 0 / 0.9355 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.11e-05/0.5845, allocations: 0 / 0.9355 GB, free: 5.441 MB / 0.7012 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.005873/0.5904, allocations: 2.858 MB / 0.9383 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5904, allocations: 8.031 kB / 0.9383 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003891/0.5908, allocations: 316.9 kB / 0.9386 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.6057, allocations: 2.121 MB / 0.9407 GB, free: 52 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.6082, allocations: 1.302 MB / 0.9419 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.6084, allocations: 168.5 kB / 0.9421 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003544/0.6087, allocations: 216 kB / 0.9423 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008603/0.6173, allocations: 3.282 MB / 0.9455 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.6174, allocations: 0 / 0.9455 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.6177, allocations: 95.98 kB / 0.9456 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/0.6177, allocations: 56 kB / 0.9457 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.6305, allocations: 4.201 MB / 0.9498 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2955/0.926, allocations: 7.247 MB / 0.9568 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009367/0.9354, allocations: 2.882 MB / 0.9597 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004102/0.9395, allocations: 1.49 MB / 0.9611 GB, free: 183 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006159/0.9401, allocations: 0.5066 MB / 0.9616 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00458/0.9447, allocations: 1.84 MB / 0.9634 GB, free: 182 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 3.657e-06/0.9447, allocations: 3.094 kB / 0.9634 GB, free: 182 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01321/0.9579, allocations: 4.471 MB / 0.9678 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.958, allocations: 215.4 kB / 0.968 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009331/0.9589, allocations: 0.9387 MB / 0.9689 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.9591, allocations: 69.48 kB / 0.969 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.9595, allocations: 0.7614 MB / 0.9697 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.9599, allocations: 0.7116 MB / 0.9704 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006117/0.9605, allocations: 380.7 kB / 0.9708 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.078e-05/0.9605, allocations: 305.1 kB / 0.9711 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/0.9642, allocations: 1.232 MB / 0.9723 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/0.968, allocations: 1.433 MB / 0.9737 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007358/0.9753, allocations: 2.584 MB / 0.9762 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.9754, allocations: 4 kB / 0.9762 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008809/0.9842, allocations: 3.079 MB / 0.9792 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.9842, allocations: 10.5 kB / 0.9792 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.9842, allocations: 0 / 0.9792 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.9848, allocations: 85.64 kB / 0.9793 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/0.988, allocations: 0.5968 MB / 0.9799 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.9896, allocations: 1.633 MB / 0.9815 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/0.9925, allocations: 359.2 kB / 0.9818 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.9927, allocations: 95.89 kB / 0.9819 GB, free: 169.7 MB / 0.7169 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.0008293/0.9935, allocations: 445.9 kB / 0.9823 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.9939, allocations: 162.9 kB / 0.9825 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009853/1.004, allocations: 3.718 MB / 0.9861 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.004, allocations: 24 kB / 0.9861 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.004, allocations: 0 / 0.9861 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/1.004, allocations: 11.95 kB / 0.9861 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/1.006, allocations: 2.463 MB / 0.9885 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.006, allocations: 0 / 0.9885 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003117/1.009, allocations: 0.5617 MB / 0.9891 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003935/1.01, allocations: 76.61 kB / 0.9892 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.01, allocations: 71.92 kB / 0.9892 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/1.011, allocations: 1.664 MB / 0.9909 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.011, allocations: 0 / 0.9909 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00855/1.02, allocations: 3.219 MB / 0.994 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006334/1.02, allocations: 0.5619 MB / 0.9946 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/1.021, allocations: 47.94 kB / 0.9946 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.023, allocations: 267.7 kB / 0.9949 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/1.023, allocations: 149.8 kB / 0.995 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/1.024, allocations: 91.91 kB / 0.9951 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006721/1.024, allocations: 0.6997 MB / 0.9958 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.024, allocations: 0 / 0.9958 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00119/1.025, allocations: 0.6467 MB / 0.9964 GB, free: 154.8 MB / 0.7169 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.01019/1.036, allocations: 4.336 MB / 1.001 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008022/1.044, allocations: 3.135 MB / 1.004 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.044, allocations: 0 / 1.004 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004113/1.048, allocations: 1.759 MB / 1.005 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.049, allocations: 364.3 kB / 1.006 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03187/1.081, allocations: 16.08 MB / 1.021 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/1.082, allocations: 1.426 MB / 1.023 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002345/1.084, allocations: 0.5714 MB / 1.023 GB, free: 127 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/1.085, allocations: 0.8779 MB / 1.024 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of SimCode: time 4.2e-07/1.085, allocations: 0 / 1.024 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06318/1.149, allocations: 42.12 MB / 1.065 GB, free: 84.45 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.46, allocations: 7.562 kB / 1.065 GB, free: 84.44 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_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_DiffusePerez.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)