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.001239/0.001239, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 287 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9368/0.9368, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 99.72 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1314, allocations: 86.97 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007245/0.1387, allocations: 6.472 MB / 0.6866 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3969/0.5356, allocations: 151.6 MB / 0.8347 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007762/0.5364, allocations: 25.09 kB / 0.8347 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.537, allocations: 258.6 kB / 0.8349 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.5385, allocations: 0.6813 MB / 0.8356 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.5406, allocations: 1.363 MB / 0.8369 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.5423, allocations: 2.661 MB / 0.8395 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.544, allocations: 1.592 MB / 0.8411 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.5451, allocations: 1.138 MB / 0.8422 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.5463, allocations: 1.28 MB / 0.8434 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003745/0.5467, allocations: 329.6 kB / 0.8438 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009819/0.5477, allocations: 0.6746 MB / 0.8444 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005413/0.5482, allocations: 0.6989 MB / 0.8451 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009261/0.5492, allocations: 1.272 MB / 0.8463 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.5519, allocations: 3.487 MB / 0.8497 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5519, allocations: 0 / 0.8497 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.552, allocations: 0 / 0.8497 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.755e-05/0.552, allocations: 0 / 0.8497 GB, free: 10.25 MB / 0.5762 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.005283/0.5573, allocations: 2.789 MB / 0.8525 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5573, allocations: 10.19 kB / 0.8525 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000335/0.5577, allocations: 319.9 kB / 0.8528 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.5733, allocations: 2.104 MB / 0.8548 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.5751, allocations: 1.264 MB / 0.8561 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.5753, allocations: 169.9 kB / 0.8562 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003294/0.5756, allocations: 217.7 kB / 0.8564 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00771/0.5833, allocations: 3.281 MB / 0.8596 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.5834, allocations: 3.938 kB / 0.8597 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002736/0.5836, allocations: 96.98 kB / 0.8597 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.5837, allocations: 60.59 kB / 0.8598 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.5958, allocations: 4.198 MB / 0.8639 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/0.6098, allocations: 7.316 MB / 0.871 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00874/0.6186, allocations: 2.882 MB / 0.8739 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004245/0.6228, allocations: 1.492 MB / 0.8753 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007203/0.6236, allocations: 0.5016 MB / 0.8758 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004949/0.6285, allocations: 1.853 MB / 0.8776 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=213): time 3.727e-06/0.6285, allocations: 0 / 0.8776 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=213): time 0.01498/0.6435, allocations: 4.458 MB / 0.882 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.6436, allocations: 209.9 kB / 0.8822 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.6448, allocations: 0.9413 MB / 0.8831 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.645, allocations: 65.7 kB / 0.8832 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/0.6456, allocations: 0.7427 MB / 0.8839 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000562/0.6461, allocations: 0.6794 MB / 0.8845 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007067/0.6469, allocations: 375.2 kB / 0.8849 GB, free: 152 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.647, allocations: 305.1 kB / 0.8852 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004268/0.6512, allocations: 1.237 MB / 0.8864 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004401/0.6557, allocations: 1.433 MB / 0.8878 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008542/0.6642, allocations: 2.579 MB / 0.8903 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.6642, allocations: 0 / 0.8903 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01026/0.6745, allocations: 3.077 MB / 0.8933 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.6745, allocations: 12 kB / 0.8933 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6746, allocations: 0 / 0.8933 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/0.6752, allocations: 92.75 kB / 0.8934 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003786/0.679, allocations: 0.5928 MB / 0.894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.681, allocations: 1.626 MB / 0.8956 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/0.6842, allocations: 366 kB / 0.8959 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.6845, allocations: 95.89 kB / 0.896 GB, free: 4.535 MB / 0.6075 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.00094/0.6854, allocations: 436.5 kB / 0.8964 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/0.6858, allocations: 154.1 kB / 0.8966 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.6975, allocations: 3.721 MB / 0.9002 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.6975, allocations: 24 kB / 0.9002 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6975, allocations: 0 / 0.9002 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.6976, allocations: 11.95 kB / 0.9003 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.7004, allocations: 2.46 MB / 0.9027 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7005, allocations: 0 / 0.9027 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003586/0.704, allocations: 0.5578 MB / 0.9032 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/0.7045, allocations: 84.72 kB / 0.9033 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.7047, allocations: 71.91 kB / 0.9034 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.7066, allocations: 1.666 MB / 0.905 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7066, allocations: 0 / 0.905 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.7167, allocations: 3.21 MB / 0.9081 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008256/0.7175, allocations: 0.5452 MB / 0.9087 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.7178, allocations: 55.78 kB / 0.9087 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/0.7208, allocations: 267.7 kB / 0.909 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.7211, allocations: 149.8 kB / 0.9091 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/0.7213, allocations: 91.91 kB / 0.9092 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009056/0.7222, allocations: 0.7036 MB / 0.9099 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7222, allocations: 0 / 0.9099 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001514/0.7237, allocations: 0.6387 MB / 0.9105 GB, free: 5.496 MB / 0.6231 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.0116/0.7354, allocations: 4.321 MB / 0.9147 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01324/0.7486, allocations: 3.631 MB / 0.9183 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7486, allocations: 7.125 kB / 0.9183 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004925/0.7536, allocations: 1.763 MB / 0.92 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.7552, allocations: 369.4 kB / 0.9203 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03927/0.7945, allocations: 16.95 MB / 0.9369 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/0.7955, allocations: 1.426 MB / 0.9383 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003239/0.7987, allocations: 0.5753 MB / 0.9388 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/0.8004, allocations: 0.8818 MB / 0.9397 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.8004, allocations: 0 / 0.9397 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07397/0.8744, allocations: 41.64 MB / 0.9804 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.27, allocations: 15.53 kB / 0.9804 GB, free: 13.97 MB / 0.7012 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)