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.005372/0.005372, allocations: 99.91 kB / 15.73 MB, free: 6.023 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.001172/0.001173, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002256/0.002256, allocations: 278.5 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9194/0.9194, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001847, allocations: 87.86 kB / 0.6809 GB, free: 40 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1627, allocations: 86.99 MB / 0.7659 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008148/0.1709, allocations: 6.468 MB / 0.7722 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4997/0.6707, allocations: 151.6 MB / 0.9203 GB, free: 4.871 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.6719, allocations: 19.94 kB / 0.9203 GB, free: 4.852 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.673, allocations: 265.2 kB / 0.9205 GB, free: 4.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.6756, allocations: 0.6888 MB / 0.9212 GB, free: 3.902 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.6788, allocations: 1.355 MB / 0.9225 GB, free: 2.555 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003158/0.6819, allocations: 2.673 MB / 0.9251 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.6843, allocations: 1.597 MB / 0.9267 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.686, allocations: 1.153 MB / 0.9278 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.6882, allocations: 1.295 MB / 0.9291 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007654/0.6889, allocations: 324 kB / 0.9294 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.6905, allocations: 0.7027 MB / 0.9301 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00094/0.6915, allocations: 0.6972 MB / 0.9308 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.6933, allocations: 1.271 MB / 0.932 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.6977, allocations: 3.562 MB / 0.9355 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.6977, allocations: 0 / 0.9355 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6977, allocations: 0 / 0.9355 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.982e-05/0.6978, allocations: 4 kB / 0.9355 GB, free: 5.191 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007314/0.7052, allocations: 2.78 MB / 0.9382 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.7052, allocations: 12.03 kB / 0.9382 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006726/0.7059, allocations: 316.8 kB / 0.9385 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.7205, allocations: 2.112 MB / 0.9406 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.7234, allocations: 1.29 MB / 0.9419 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.7236, allocations: 172.5 kB / 0.942 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007259/0.7243, allocations: 219.7 kB / 0.9422 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009243/0.7336, allocations: 3.282 MB / 0.9454 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.505e-05/0.7337, allocations: 3.938 kB / 0.9454 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004485/0.7341, allocations: 92 kB / 0.9455 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.7342, allocations: 56 kB / 0.9456 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.7465, allocations: 4.21 MB / 0.9497 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.7636, allocations: 7.221 MB / 0.9567 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008937/0.7726, allocations: 2.889 MB / 0.9596 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004396/0.777, allocations: 1.485 MB / 0.961 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/0.7779, allocations: 0.5113 MB / 0.9615 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005134/0.7831, allocations: 1.847 MB / 0.9633 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 4.619e-06/0.7831, allocations: 0 / 0.9633 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01472/0.7978, allocations: 4.462 MB / 0.9677 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.798, allocations: 201.9 kB / 0.9679 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.7994, allocations: 0.9529 MB / 0.9688 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003863/0.7998, allocations: 61.7 kB / 0.9689 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006209/0.8004, allocations: 0.7466 MB / 0.9696 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007931/0.8012, allocations: 0.6737 MB / 0.9702 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009738/0.8022, allocations: 383.2 kB / 0.9706 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.8023, allocations: 301.1 kB / 0.9709 GB, free: 384 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003982/0.8063, allocations: 1.234 MB / 0.9721 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004201/0.8105, allocations: 1.437 MB / 0.9735 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008111/0.8186, allocations: 2.583 MB / 0.976 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.8187, allocations: 0 / 0.976 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01037/0.8291, allocations: 3.073 MB / 0.979 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.8291, allocations: 4 kB / 0.979 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.8292, allocations: 4 kB / 0.979 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.8298, allocations: 88.83 kB / 0.9791 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003742/0.8335, allocations: 0.5889 MB / 0.9797 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.8357, allocations: 1.641 MB / 0.9813 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/0.8389, allocations: 366 kB / 0.9816 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004886/0.8394, allocations: 95.89 kB / 0.9817 GB, free: 5.055 MB / 0.7325 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.001412/0.8408, allocations: 439.8 kB / 0.9822 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006352/0.8415, allocations: 150.1 kB / 0.9823 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/0.8533, allocations: 3.711 MB / 0.9859 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/0.8534, allocations: 27.98 kB / 0.9859 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.8534, allocations: 4 kB / 0.9859 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/0.8534, allocations: 11.95 kB / 0.986 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.8573, allocations: 2.456 MB / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/0.8574, allocations: 0 / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003766/0.8611, allocations: 0.5578 MB / 0.9889 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.8617, allocations: 80.72 kB / 0.989 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/0.8621, allocations: 79.91 kB / 0.9891 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.8641, allocations: 1.655 MB / 0.9907 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8641, allocations: 0 / 0.9907 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.8747, allocations: 3.214 MB / 0.9938 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.876, allocations: 0.5413 MB / 0.9943 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005919/0.8766, allocations: 59.78 kB / 0.9944 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/0.8796, allocations: 264.6 kB / 0.9946 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/0.88, allocations: 153.8 kB / 0.9948 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003205/0.8804, allocations: 99.89 kB / 0.9949 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001479/0.8818, allocations: 0.6997 MB / 0.9956 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.01e-07/0.8819, allocations: 0 / 0.9956 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002503/0.8844, allocations: 0.6348 MB / 0.9962 GB, free: 5.965 MB / 0.7481 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.01254/0.8969, allocations: 4.325 MB / 1 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01/0.907, allocations: 3.128 MB / 1.003 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.907, allocations: 0 / 1.003 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007208/0.9142, allocations: 1.759 MB / 1.005 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.9166, allocations: 374.5 kB / 1.006 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04348/0.9601, allocations: 16 MB / 1.021 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.9615, allocations: 1.43 MB / 1.023 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003316/0.9648, allocations: 0.5791 MB / 1.023 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/0.9669, allocations: 0.8818 MB / 1.024 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of SimCode: time 1.172e-06/0.967, allocations: 0 / 1.024 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08312/1.05, allocations: 43.03 MB / 1.066 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.01, allocations: 11.25 kB / 1.066 GB, free: 14.72 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)